Spaces:
Sleeping
Sleeping
robertselvam
commited on
Commit
•
90eea2a
1
Parent(s):
159478b
Update app.py
Browse files
app.py
CHANGED
@@ -140,7 +140,7 @@ class ChatDocumentQA:
|
|
140 |
# memory,tools,prompt = self.create_memory_for_csv_qa(tools)
|
141 |
# agent_chain = self.create_agent_chain_for_csv_qa(memory,tools,prompt)
|
142 |
agent_chain = create_csv_agent(
|
143 |
-
|
144 |
file_path,
|
145 |
verbose=True,
|
146 |
agent_type=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
|
|
|
140 |
# memory,tools,prompt = self.create_memory_for_csv_qa(tools)
|
141 |
# agent_chain = self.create_agent_chain_for_csv_qa(memory,tools,prompt)
|
142 |
agent_chain = create_csv_agent(
|
143 |
+
AzureChatOpenAI(azure_deployment = "ChatGPT"),
|
144 |
file_path,
|
145 |
verbose=True,
|
146 |
agent_type=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
|