docs: update configuration docs (#1155)

* update configuration docs

* update configuration docs

* update configuration docs
This commit is contained in:
Linlang
2025-08-05 15:48:28 +08:00
committed by GitHub
parent fcfea1943c
commit 067b5908f4
5 changed files with 32 additions and 5 deletions
+11
View File
@@ -148,6 +148,17 @@ To align with the Python SDK example above, you can configure the `CHAT_MODEL` b
This configuration allows you to call Azure OpenAI through LiteLLM while using an external provider (e.g., SiliconFlow) for embeddings.
If your `Azure OpenAI API Key`` supports `embedding model`, you can refer to the following configuration example.
.. code-block:: Properties
cat << EOF > .env
EMBEDDING_MODEL=azure/<Model deployment supporting embedding>
CHAT_MODEL=azure/<your deployment name>
AZURE_API_KEY=<replace_with_your_openai_api_key>
AZURE_API_BASE=<your_unified_api_base>
AZURE_API_VERSION=<azure api version>
Configuration(deprecated)
=========================