Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 1.03 KB

config.md

File metadata and controls

60 lines (40 loc) · 1.03 KB

AI Warp Configuration

Documentation on AI Warp's configuration options.

How to Configure AI Warp

AI Warp can be configured in your applications's Platformatic config.

Config Options

aiProvider

  • 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
    }
  }
}

promptDecorators

  • 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!"
  }
}

auth

  • object

Configure authentication for AI Warp. See auth.md for more information.

rateLimiting

  • object

Configure rate limiting for AI Warp. See rate-limiting.md for more information.