diff --git a/docs/guidebook/en/In-Depth_Guides/Tutorials/LLM/LLM_Channel.md b/docs/guidebook/en/In-Depth_Guides/Tutorials/LLM/LLM_Channel.md index 9dd1d782..f5443718 100644 --- a/docs/guidebook/en/In-Depth_Guides/Tutorials/LLM/LLM_Channel.md +++ b/docs/guidebook/en/In-Depth_Guides/Tutorials/LLM/LLM_Channel.md @@ -74,7 +74,7 @@ def as_langchain(self) -> BaseLanguageModel: In agentUniverse, the Model Channel (LLMChannel) class inherits from ComponentBase and includes the following configurable parameters: 1. `channel_name`: (Required) Corresponds to the aU channel component instance name -2. `channel_api_key`: (Required) Corresponds to the specific channel's key, e.g., dashscope key for Baichuan platform; qianfan key for Qianfan platform +2. `channel_api_key`: (Required) Corresponds to the specific channel's key, e.g., DASHSCOPE_API_KEY for Aliyun Dashscope platform; QIANFAN_API_KEY for Baidu Qianfan platform 3. `channel_api_base`: (Required) Corresponds to the specific channel's endpoint 4. `channel_organization`: (Optional) Corresponds to the specific channel's organization 5. `channel_proxy`: (Optional) Corresponds to the specific channel's proxy @@ -111,7 +111,7 @@ meta_class: 'agentuniverse.llm.default.deep_seek_openai_style_llm.DefaultDeepSee ```yaml channel_name: 'deepseek-r1-official' -channel_api_key: '${DEEPSEEK_OFFICIAL_CHANNEL_API_KEY}' # deepseek-r1 official website key +channel_api_key: '${DEEPSEEK_API_KEY}' # deepseek-r1 official website key channel_api_base: 'https://api.deepseek.com/v1' # deepseek-r1 official website url channel_model_name: 'deepseek-reasoner' # deepseek-r1 official website model name model_support_stream: True # Whether deepseek-r1 official channel supports streaming @@ -142,7 +142,7 @@ meta_class: 'agentuniverse.llm.default.deep_seek_openai_style_llm.DefaultDeepSee ```yaml channel_name: 'deepseek-r1-dashscope' -channel_api_key: '${DASHSCOPE_CHANNEL_API_KEY}' # Alibaba Cloud Baichuan platform key +channel_api_key: '${DASHSCOPE_API_KEY}' # Alibaba Cloud Baichuan platform key channel_api_base: 'https://dashscope.aliyuncs.com/compatible-mode/v1' # Alibaba Cloud Baichuan platform url channel_model_name: deepseek-r1 # Alibaba Cloud Baichuan platform model name model_support_stream: True # Whether Alibaba Cloud Baichuan platform model supports streaming diff --git a/docs/guidebook/zh/In-Depth_Guides/原理介绍/模型/模型通道.md b/docs/guidebook/zh/In-Depth_Guides/原理介绍/模型/模型通道.md index 5231ded8..216a9401 100644 --- a/docs/guidebook/zh/In-Depth_Guides/原理介绍/模型/模型通道.md +++ b/docs/guidebook/zh/In-Depth_Guides/原理介绍/模型/模型通道.md @@ -74,7 +74,7 @@ def as_langchain(self) -> BaseLanguageModel: 在agentUniverse中,模型通道(LLMChannel)类继承自ComponentBase,包含以下可配置参数: 1. `channel_name`:(必填)对应aU的通道组件实例名称 -2. `channel_api_key`:(必填)对应特定通道的密钥,比如百炼平台对应dashscope key;千帆平台对应qianfan key +2. `channel_api_key`:(必填)对应特定通道的密钥,比如百炼平台对应DASHSCOPE_API_KEY;千帆平台对应QIANFAN_API_KEY 3. `channel_api_base`:(必填)对应特定通道的endpoint 4. `channel_organization`:(非必填)对应特定通道的organization 5. `channel_proxy`:(非必填)对应特定通道的proxy @@ -111,7 +111,7 @@ meta_class: 'agentuniverse.llm.default.deep_seek_openai_style_llm.DefaultDeepSee ```yaml channel_name: 'deepseek-r1-official' -channel_api_key: '${DEEPSEEK_OFFICIAL_CHANNEL_API_KEY}' # deepseek-r1官网的密钥 +channel_api_key: '${DEEPSEEK_API_KEY}' # deepseek-r1官网的密钥 channel_api_base: 'https://api.deepseek.com/v1' # deepseek-r1官网的url channel_model_name: 'deepseek-reasoner' # deepseek-r1官网的模型名称 model_support_stream: True # deepseek-r1官网通道是否支持流式 @@ -142,7 +142,7 @@ meta_class: 'agentuniverse.llm.default.deep_seek_openai_style_llm.DefaultDeepSee ```yaml channel_name: 'deepseek-r1-dashscope' -channel_api_key: '${DASHSCOPE_CHANNEL_API_KEY}' # 阿里云百炼平台的密钥 +channel_api_key: '${DASHSCOPE_API_KEY}' # 阿里云百炼平台的密钥 channel_api_base: 'https://dashscope.aliyuncs.com/compatible-mode/v1' # 阿里云百炼平台的url channel_model_name: deepseek-r1 # 阿里云百炼平台的模型名称 model_support_stream: True # 阿里云百炼平台模型是否支持流式