1 Configure OpenAI as backend
Rickard Edén edited this page 2023-12-02 08:58:27 +01:00

llm_config.yaml is prepared to switch to openai.

  • Change URL to "https://api.openai.com"
  • Change ENDPOINT to "/v1/chat/completions"
  • Change BACKEND to "openai"
  • Add your openai key to "OPENAI_API_KEY" if you want to use chat-gpt

You can change temperature and max_tokens in OPENAI_BODY if you want to experiment with those