Connecting the OpenAI API with GPTTalk Plugin
Connecting the OpenAI API with the GPTTalk plugin allows you to infuse the chat functionality with powerful AI capabilities. Follow the step-by-step guide below to set up the integration:
Obtain OpenAI API Key
openai:
# The OpenAI API key, paste your unique key here.
api-key: "YOUR_API_KEY_HERE"
# Determines how "creative" the AI will be; higher values result in more creative responses.
temperature: 0.7
# Sets the maximum token limit for the AI's response; higher values allow for longer responses.
max-tokens: 150
# Chooses between completion (short responses) and chat (longer conversations) modes.
chat-mode: chat
# Specifies the model to use, which must match the chat mode selected.
model: "gpt-3.5-turbo-16k"
Last updated