chat_with_structured_data

In this notebook, we understand how to chat or interact with structured data using LangChain agents - create_sql_agent and create_pandas_dataframe_agent. We also understand the capabilities of PandasAI with few examples.

Dependencies

  • Install the following libraries:

    langchain, openai, tabulate, python-dotenv, pandasai

  • Set OpenAI API key in the .env file or define a variable in the jupyter notebook