Spaces:
Runtime error
Runtime error
JJteam
commited on
Commit
•
1f2b2e4
1
Parent(s):
01731d8
Fix for GPT4 throttling issue
Browse files- MM-REACT/app.py +1 -1
- langchain-0.0.94-py3-none-any.whl +0 -0
MM-REACT/app.py
CHANGED
@@ -59,7 +59,7 @@ def load_chain(history, log_state):
|
|
59 |
llm = AzureOpenAI(deployment_name="text-davinci-003", model_name="text-davinci-003", temperature=0, max_tokens=MAX_TOKENS)
|
60 |
elif ARGS.openAIModel == 'azureGPT4':
|
61 |
# for Azure GPT4 private preview
|
62 |
-
llm = AzureOpenAI(deployment_name="gpt-4-32k-
|
63 |
|
64 |
memory = ConversationBufferMemory(memory_key="chat_history")
|
65 |
|
|
|
59 |
llm = AzureOpenAI(deployment_name="text-davinci-003", model_name="text-davinci-003", temperature=0, max_tokens=MAX_TOKENS)
|
60 |
elif ARGS.openAIModel == 'azureGPT4':
|
61 |
# for Azure GPT4 private preview
|
62 |
+
llm = AzureOpenAI(deployment_name="gpt-4-32k-0613", temperature=0, chat_completion=True, max_tokens=MAX_TOKENS, openai_api_version="2023-03-15-preview")
|
63 |
|
64 |
memory = ConversationBufferMemory(memory_key="chat_history")
|
65 |
|
langchain-0.0.94-py3-none-any.whl
CHANGED
Binary files a/langchain-0.0.94-py3-none-any.whl and b/langchain-0.0.94-py3-none-any.whl differ
|
|