Skip to content

This Python tool employs multi-agent routing to efficiently handle diverse tasks: one agent generates QR codes, while another retrieves and processes data from a CSV file. Depending on the user's query, the appropriate agent is dynamically selected to provide accurate responses or actions.

License

Notifications You must be signed in to change notification settings

ashutoshvct/multiagent-routing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chatgpt-interpreter

Multi Agent Routing

The python code has two agent - one for creating qrcodes and other for answering question from a CSV. Based on the prompt the correct tool will be used and agent will provide the answer.

Features

  • Code Execution: Uses a Python REPL tool to execute Python code dynamically.
  • Data Query: Integrates with a CSV file to answer questions based on data calculations.
  • Extended Functionality: Can generate QR codes and perform additional tasks as specified.

Requirements

Before running the script, ensure you have the following installed:

  • Python 3.8 or newer.
  • dotenv: For loading environment variables.
  • langchain: For integrating language model capabilities.
  • langchain-openai: For utilizing OpenAI models.
  • qrcode: For generating QR codes.
  • All the other required packages are listed in the Pipfile.

You will also need to set up an environment file (.env) containing the necessary API keys and configurations.

Installation

To install the required Python packages, you can use the following pip command: All the packages are listed in the Pipfile.

pip install python-dotenv langchain langchain-openai qrcode 

About

This Python tool employs multi-agent routing to efficiently handle diverse tasks: one agent generates QR codes, while another retrieves and processes data from a CSV file. Depending on the user's query, the appropriate agent is dynamically selected to provide accurate responses or actions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages