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
URLto "https://api.openai.com" - Change
ENDPOINTto "/v1/chat/completions" - Change
BACKENDto "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