naveenvenkatesh commited on
Commit
4b3539b
·
verified ·
1 Parent(s): 190c7f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -173,7 +173,7 @@ class ChatDocumentQA:
173
  #************************
174
  def create_agent(self,file_path):
175
  agent_chain = create_csv_agent(
176
- OpenAI(temperature=0),
177
  file_path,
178
  verbose=True,
179
  agent_type=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
 
173
  #************************
174
  def create_agent(self,file_path):
175
  agent_chain = create_csv_agent(
176
+ AzureChatOpenAI(azure_deployment = "ChatGPT"),
177
  file_path,
178
  verbose=True,
179
  agent_type=AgentType.ZERO_SHOT_REACT_DESCRIPTION,