-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: ai-prompt-template plugin #11517
feat: ai-prompt-template plugin #11517
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM
|
||
## Description | ||
|
||
The `ai-prompt-template` plugin simplifies access to AI providers and models by predefining the request format |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The `ai-prompt-template` plugin simplifies access to AI providers and models by predefining the request format | |
The `ai-prompt-template` plugin simplifies access to LLM providers, such as OpenAI and Anthropic, and their models by predefining the request format |
## Description | ||
|
||
The `ai-prompt-template` plugin simplifies access to AI providers and models by predefining the request format | ||
using a template and allowing users to pass only the values for template variables. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using a template and allowing users to pass only the values for template variables. | |
using a template, which only allows users to pass customized values into template variables. |
| ------------------------------------- | -------- | --------------------------------------------------- | ------------ | | ||
| `templates` | Array | An array of template objects | Yes | | ||
| `templates.name` | String | Name of the template. | Yes | | ||
| `templates.template.model` | String | Model of the AI Model. Example: gpt-4, gpt-3.5 | Yes | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `templates.template.model` | String | Model of the AI Model. Example: gpt-4, gpt-3.5 | Yes | | |
| `templates.template.model` | String | Model of the AI Model, for example `gpt-4` or `gpt-3.5`. See your LLM provider API documentation for more available models. | Yes | |
c46944f
Co-authored-by: Traky Deng <[email protected]>
…x into prompt-template
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doc LGTM
Description
Implement ai-prompt-template plugin.
Checklist