gpt-4o
gpt-4-turbo
gpt-4
gpt-3.5-turbo
gpt-3.5-turbo-instruct
Parameter | Type | Description |
---|---|---|
api_key | str | The API key for authentication. |
temperature | float | The temperature parameter for the model. |
top_p | float | The top-p parameter for the model. |
max_tokens | int | The maximum number of tokens for the model’s output. |
frequency_penalty | float | The frequency penalty parameter for the model. |
presence_penalty | float | The presence penalty parameter for the model. |
.env
file with you OPENAI_API_KEY