chat/completions schema and PolyAI will treat it like any other provider.
Overview
API endpoint
- Request format
- Response format
- Streaming (SSE)
You might receive extra OpenAI-style fields such as
frequency_penalty, presence_penalty, etc.Authentication
| Method | Header sent by PolyAI |
|---|---|
| API Key | x-api-key: YOUR_API_KEY |
| Bearer | Authorization: Bearer YOUR_TOKEN |
Sample implementation (Python / Flask)
Final checklist
- Endpoint reachable with POST.
- Request/response match OpenAI
chat/completionsschema. - Authentication header configured (API Key or Bearer token).
- (Optional) Streaming supported if needed.
- Endpoint URL
- Model ID
- Auth method & credential
Related pages
Model selection
Choose which LLM powers your agent.
Rules
Set global behavior rules interpreted by the model.

