You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/latest/plugins/ai-prompt-template.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,8 +45,8 @@ The `ai-prompt-template` Plugin supports pre-configuring prompt templates that o
45
45
|`templates`| True | array | An array of template objects. |
46
46
|`templates.name`| True | string | Name of the template. When requesting the Route, the request should include the template name that corresponds to the configured template. |
|`templates.template.model`|True| string | Name of the LLM model, such as `gpt-4` or `gpt-3.5`. See your LLM provider API documentation for more available models. |
|`templates.template.model`|False| string | Name of the LLM model, such as `gpt-4` or `gpt-3.5`. See your LLM provider API documentation for more available models. |
|`templates.template.messages.role`| True | string | Role of the message. Valid values are `system`, `user`, and `assistant`. |
51
51
|`templates.template.messages.content`| True | string | Content of the message (prompt). Use `{{variable_name}}` syntax to define template variables that will be filled from the request body. |
0 commit comments