File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -42,13 +42,13 @@ import TabItem from '@theme/TabItem';
4242
4343| ** 字段** | ** 是否必填** | ** 类型** | ** 描述** |
4444| --- | --- | --- | --- |
45- | ` templates ` | True | array | 模板对象数组。 |
46- | ` templates.name ` | True | string | 模板的名称。在请求路由时,请求中应包含与所配置模板相对应的模板名称。 |
47- | ` templates.template ` | True | object | 模板规范。 |
48- | ` templates.template.model ` | False | string | LLM 模型的名称,例如 ` gpt-4 ` 或 ` gpt-3.5 ` 。更多可用模型请参阅 LLM 提供商的 API 文档。 |
49- | ` templates.template.messages ` | False | array[ object] | 模板消息规范。 |
50- | ` templates.template.messages.role ` | True | string | 消息的角色。有效值为 ` system ` 、` user ` 和 ` assistant ` 。 |
51- | ` templates.template.messages.content ` | True | string | 消息(提示词)的内容。使用 ` {{variable_name}} ` 语法定义模板变量,这些变量将从请求体中填充。 |
45+ | ` templates ` | 是 | array | 模板对象数组。 |
46+ | ` templates.name ` | 是 | string | 模板的名称。在请求路由时,请求中应包含与所配置模板相对应的模板名称。 |
47+ | ` templates.template ` | 是 | object | 模板规范。 |
48+ | ` templates.template.model ` | 否 | string | LLM 模型的名称,例如 ` gpt-4 ` 或 ` gpt-3.5 ` 。更多可用模型请参阅 LLM 提供商的 API 文档。 |
49+ | ` templates.template.messages ` | 否 | array[ object] | 模板消息规范。 |
50+ | ` templates.template.messages.role ` | 是 | string | 消息的角色。有效值为 ` system ` 、` user ` 和 ` assistant ` 。 |
51+ | ` templates.template.messages.content ` | 是 | string | 消息(提示词)的内容。使用 ` {{variable_name}} ` 语法定义模板变量,这些变量将从请求体中填充。 |
5252
5353## 使用示例
5454
You can’t perform that action at this time.
0 commit comments