docs/layouts/shortcodes/generated/model_openai_common_section.html
| Key | Default | Type | Description |
|---|---|---|---|
| (none) | String | OpenAI API key for authentication. | |
| truncated-tail |
Enum
| Action to handle context overflows.
Possible values:
| |
| (none) | String | Full URL of the OpenAI API endpoint, e.g., https://api.openai.com/v1/chat/completions or https://api.openai.com/v1/embeddings |
|
| RETRY |
Enum
| Strategy for handling errors during model requests.
Possible values:
| |
| (none) | Integer | Max number of tokens for context. context-overflow-action would be triggered if this threshold is exceeded. | |
| (none) | String | Model name, e.g., gpt-3.5-turbo, text-embedding-ada-002. |
|
| FAILOVER |
Enum
| Fallback strategy to employ if the retry attempts are exhausted. This strategy is applied when error-handling-strategy is set to retry.
Possible values:
| |
| 100 | Integer | Number of retry for OpenAI client requests. |