robertselvam commited on
Commit
aab0441
·
1 Parent(s): c3ad5ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -18,10 +18,11 @@ from langchain.llms import OpenAI
18
  from langchain.prompts import PromptTemplate
19
  from langchain.prompts.prompt import PromptTemplate
20
  import pandas as pd
 
21
  from langchain.agents import create_pandas_dataframe_agent
22
  from langchain.agents import ZeroShotAgent, Tool, AgentExecutor
23
  from langchain.agents.agent_types import AgentType
24
- from langchain.agents import create_csv_agent
25
  from langchain import OpenAI, LLMChain
26
  class ChatDocumentQA:
27
  def __init__(self) -> None:
 
18
  from langchain.prompts import PromptTemplate
19
  from langchain.prompts.prompt import PromptTemplate
20
  import pandas as pd
21
+ from langchain_experimental.agents.agent_toolkits.csv.base import create_csv_agent
22
  from langchain.agents import create_pandas_dataframe_agent
23
  from langchain.agents import ZeroShotAgent, Tool, AgentExecutor
24
  from langchain.agents.agent_types import AgentType
25
+ # from langchain.agents import create_csv_agent
26
  from langchain import OpenAI, LLMChain
27
  class ChatDocumentQA:
28
  def __init__(self) -> None: