Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
Slug | string | :heavy_check_mark: | URL-safe slug identifying the preset. Created if it does not exist. | my-preset |
ChatRequest | components.ChatRequest | :heavy_check_mark: | N/A | {"max_tokens": 150,"messages": [{"content": "You are a helpful assistant.","role": "system"},{"content": "What is the capital of France?","role": "user"}], “model”: “openai/gpt-4”, “temperature”: 0.7 } |