Basic Parameters
| Parameter | Description |
|---|---|
| Max Tokens | The maximum number of tokens to generate in the completion. |
| Messages | The messages to generate chat completions for, in the chat format. |
| Model | ID of the model to use. Currently, only gpt-3.5-turbo and gpt-3.5-turbo-0301 are supported. |
Advanced Parameters
| Parameter | Description |
|---|---|
| Stop | Up to 4 sequences where the API will stop generating further tokens. |
| Temperature | What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.We generally recommend altering this or top_p but not both. |
| User | A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. Learn more. |