OPENAI
Last updated
Last updated
⚠️ Please note that using some AI providers, such as OpenAI's API, can be expensive. Monitor your usage carefully to avoid incurring unexpected costs. We're NOT responsible for your usage under any circumstance.
Set AI_PROVIDER
to openai
.
Set OPENAI_API_KEY
to your OpenAI API key.
Set AI_MODEL
to gpt-3.5-turbo
for ChatGPT.
Set AI_TEMPERATURE
to a value between 0 and 1. The higher the value, the more creative the output.
Set MAX_TOKENS
to the maximum number of tokens to generate. The higher the value, the longer the output. The maximum for gpt-3.5-turbo
is 4000, gpt-4
is 8000.