Documentation on AI Warp's configuration options.
AI Warp can be configured in your applications's Platformatic config.
object
Note
This is a required configuration option.
This configuration option tells AI Warp what AI provider to use.
{
"aiProvider": {
"openai": {
"model": "gpt-3.5-turbo",
"apiKey": "{PLT_OPENAI_API_KEY}" // reads from environment variables
}
}
}
object
Tells AI Warp to append a prefix and/or a suffix to a prompt.
Example usage
{
"promptDecorators": {
"prefix": "Hello AI! Your prompt is as follows: \n",
"suffix": "\nThank you!"
}
}
object
Configure authentication for AI Warp. See auth.md for more information.
object
Configure rate limiting for AI Warp. See rate-limiting.md for more information.