Skip to content

Commit

Permalink
fix openai api base
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaxuanliu committed Dec 25, 2023
1 parent 896d9c0 commit eb9998d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
OPENAI_API_BASE: "https://api.openai.com/v1"
OPENAI_API_BASE: "https://api.openai.com/v1/chat/completions"
OPENAI_API_KEY: "sk-" # Set the value to sk-xxx if you host the openai interface for open llm model
OPENAI_API_MODEL: "gpt-4-vision-preview" # The only OpenAI model by now that accepts visual input
MAX_TOKENS: 300 # The max token limit for the response completion
Expand Down

0 comments on commit eb9998d

Please sign in to comment.