Skip to content

aryansingh0909/Inter-IIT-12-Devrev-AI-Agent-007

 
 

Repository files navigation

Inter-IIT-12-Devrev-AI-Agent-007

Team 15

Devrev-AI-Agent-007 is a streamlined tool for deploying AI applications. Follow these steps to get started:

Installation and Setup

  1. Install Dependencies: Install the required libraries using:
pip install -r requirements.txt
  1. Download Seed Dataset: Download from this link: here

  2. Configure File Paths:

  • app.py: Modify retrieval_loader with your CSV file path:
    retrieval_loader = CSVLoader(file_path=r"Your Path here", source_column='QUERY')
    image
  • retrieval.py: Modify loader with your CSV file path:
    loader = CSVLoader(file_path=r"Your Path here")
  1. API Keys Setup: Add your API keys:
  • Hugging Face API Key:
    os.environ['HUGGINGFACEHUB_API_TOKEN'] = "Your Hugging Face API Key here"
  • OpenAI API Key:
    os.environ['OPENAI_API_KEY'] = "Your OpenAI Key here"

Get the Hugging Face API Keys from here.

  1. Run the Application: Execute the following command to run the app:
streamlit run app.py

Using the Application

  1. Initial Setup: Upon launching, you'll land on the Chatbot page.

  2. Navigate to Tools Management Page: Click the radio button in the sidebar to access the Tools Management Page.

  3. Tool Management:

  • Reset API Toolset: Click on "Reset API toolset" on the Tools Management Page.
  • Add New Tools: Use the "Add New Tool" form to add tools to the API list. Multiple tools can be added.
  • Update Tool Details: To update a tool's name or description, select it and make changes as needed.
  • Delete Tool: Select a tool and click "Delete tool" to remove it.
  1. Argument Management:
  • Add New Arguments: Fill in the details for new arguments in the provided form.
  • Update/Delete Arguments: Select an argument to update or delete it.
  • Bulk Delete: Choose multiple arguments to delete them at once.
  1. Finalize: Complete the necessary actions to fully utilize the interface.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%