Skip to content

Commit

Permalink
attribute description
Browse files Browse the repository at this point in the history
  • Loading branch information
shreemaan-abhishek committed Aug 28, 2024
1 parent d194632 commit 9ece55c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/en/latest/plugins/ai-prompt-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ using a template, which only allows users to pass customized values into templat

## Plugin Attributes

| **Field** | **Required** | **Type** | **Description** |
| ------------------------------------- | ------------ | -------- | --------------------------------------------------- |
| `templates` | Yes | Array | An array of template objects |
| `templates.name` | Yes | String | Name of the template. |
| `templates.template.model` | Yes | String | Model of the AI Model. Example: gpt-4, gpt-3.5 |
| `templates.template.messages.role` | Yes | String | Role of the message (`system`, `user`, `assistant`) |
| `templates.template.messages.content` | Yes | String | Content of the message. |
| **Field** | **Required** | **Type** | **Description** |
| ------------------------------------- | ------------ | -------- | --------------------------------------------------------------------------------------------------------------------------- |
| `templates` | Yes | Array | An array of template objects |
| `templates.name` | Yes | String | Name of the template. |
| `templates.template.model` | Yes | String | Model of the AI Model, for example `gpt-4` or `gpt-3.5`. See your LLM provider API documentation for more available models. |
| `templates.template.messages.role` | Yes | String | Role of the message (`system`, `user`, `assistant`) |
| `templates.template.messages.content` | Yes | String | Content of the message. |

## Example usage

Expand Down

0 comments on commit 9ece55c

Please sign in to comment.