Introduction
Welcome to the AI Agent Project! This application is designed to make user life easier for fetching many queries and compute result for specific use. The AI agent processes a dataset (CSV or Google Sheets), performs web searches to retrieve specific information for each entity in a chosen column, and formats the extracted data into a structured output.
Key Features:
1.Leverages a Large Language Model (LLM) for parsing web search results based on user queries.
2.Provides a simple and user-friendly dashboard for:
3.Uploading datasets.
4.Configuring search queries.
5.Viewing and downloading structured results.
6.Supports seamless integration with APIs for efficient data retrieval and processing.
7.This project demonstrates how AI can be utilized to automate data collection and formatting, saving time and improving accuracy.
How to Run the Application Locally
Ensure the following are installed on your system:
Python 3.8 or higher
Virtual environment tools (venv or virtualenv)
Required APIs and their credentials (e.g., Google Sheets API, SerpAPI)
Steps to Run Locally
git clone https://github.com/your-username/AI_agent.git
cd your-repository
Set Up a Virtual Environment:
python -m venv myenv
source myenv/bin/activate # On Windows: myenv\Scripts\activate
Install Dependencies:
pip install -r requirements.txt
Set Up Environment Variables: Create a .env file in the project root and add your API keys and configuration details:
makefile an .env file
SERPAPI_KEY=your-serpapi-key
GOOGLE_API_KEY=your-google-api-key
Run the Backend:
python app.py
Run the Frontend (if applicable): Navigate to the frontend directory and install dependencies:
Access the Application: Open your browser and navigate to:
http://localhost:5000 # Or the specified backend/frontend port