Skip to content

Repository to demonstrate Chain of Table reasoning with multiple tables powered by LangGraph

Notifications You must be signed in to change notification settings

noumanjavaid96/analysis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MultiCoT

Overview

MultiCoT is a repository that demonstrates Chain-of-Table reasoning on multiple tables powered by LangGraph.

Installation

Follow these steps to set up MultiCoT:

  1. Clone the Repository
    git clone https://github.com/CYQIQ/MultiCoT.git
    
  2. Install Dependencies Navigate to the repository directory and run:
    pip install -r requirements.txt
    
  3. Configure API Keys Create a .env file in the root directory. Add your OpenAI API key and LangChain API details as follows:
    OPENAI_API_KEY="..."
    LANGCHAIN_API_KEY="..."
    LANGCHAIN_TRACING_V2="..."
    LANGCHAIN_ENDPOINT="..."
    LANGCHAIN_PROJECT="..."
    

Usage

For detailed instructions on how to run MultiCoT, refer to the CYQIQ_COT.ipynb Jupyter Notebook within the repository.

Data

The data directory includes an example dataset comprised of 6 CSV files necessary to run the notebook. To run MultiCoT with your own data, change the data loading logic and the table descriptions in CYQIQ_COT.ipynb

Acknowledgments

About

Repository to demonstrate Chain of Table reasoning with multiple tables powered by LangGraph

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.9%
  • Python 0.1%