Skip to content

Commit

Permalink
Add timeout for LLM
Browse files Browse the repository at this point in the history
  • Loading branch information
baptiste-pasquier committed Mar 25, 2024
1 parent 3267d37 commit 4e9af85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/rag_3/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ text_llm:
deployment_name: "gpt4-turbo"
temperature: 0.0
max_tokens: 1024
timeout: 120

vision_llm:
_target_: langchain_openai.AzureChatOpenAI
Expand All @@ -22,6 +23,7 @@ vision_llm:
deployment_name: "gpt4-vision"
temperature: 0.0
max_tokens: 1024
timeout: 120

embedding:
_target_: langchain_openai.AzureOpenAIEmbeddings
Expand Down

0 comments on commit 4e9af85

Please sign in to comment.