Spaces:
Runtime error
Runtime error
Commit
·
2e9f440
1
Parent(s):
00a5144
Update app.py
Browse files
app.py
CHANGED
@@ -21,6 +21,8 @@ import pandas as pd
|
|
21 |
from langchain.agents import create_pandas_dataframe_agent
|
22 |
from langchain.agents import ZeroShotAgent, Tool, AgentExecutor
|
23 |
from langchain import OpenAI, LLMChain
|
|
|
|
|
24 |
|
25 |
class ChatDocumentQA:
|
26 |
def __init__(self) -> None:
|
|
|
21 |
from langchain.agents import create_pandas_dataframe_agent
|
22 |
from langchain.agents import ZeroShotAgent, Tool, AgentExecutor
|
23 |
from langchain import OpenAI, LLMChain
|
24 |
+
from langchain.agents.agent_types import AgentType
|
25 |
+
from langchain.agents import create_csv_agent
|
26 |
|
27 |
class ChatDocumentQA:
|
28 |
def __init__(self) -> None:
|