In this code, there are two agents (CSV and QR Code Intrepretor), output will be on prompt based. Agent will be selected in runtime.
- Install Python=3.11.
- Install Pycharm
- Clone the repository
git clone "repository-url"
- Generate a separate interpretor by following these steps
- Open Interpretor in Preferences
- Add Local Interpretor using this image
- Click on Pipenv Environment
- Add Base Interpretor (Python path where its installed by using "which python3" on terminal)
- Add Pipenv executable (Python path where its installed by using "which pipenv" on terminal)
- Run the command "pip install pipenv" (if pipenv not installed)
- See this screenshot for Step 4.4 and 4.5
which python3 which pipenv pip install pipenv
- Generate .env file and store API Keys as in image
OPENAI_API_KEY=your-openai-api-key
TAVILY_API_KEY=your-tavily-api-key
ANTHROPIC_API_KEY=your-anthropic-api-key
- Install all the dependencies using pipfile
cd llm-code-interpretor
pipenv install
- Start "pipenv shell" environment in terminal (Make sure you're in working directory)
pipenv shell
8. Run the application in pycharm.
** This is a test applications. Errors and Ommissions are accepted ** ** Developed & Tested this LangChain ChatBot application in macOS **
*** In case of any errors, contact at "haseebahmed02@gmail.com" or Whatsapp "+447949067041". Will debug the application at your end and let it run ***
Thanks for your visit to my profile.