Skip to content

Exynos21/Search-It

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Search-It

This project is a user-friendly dashboard that leverages AI and web scraping to extract targeted information from online sources. Users can upload a dataset (CSV/Google Sheets), define custom search queries, and retrieve structured information for each entity.

Key Features:

  • Automated Web Searches: Use APIs like SerpAPI for efficient data retrieval.
  • AI-Powered Information Extraction: Employ language models to parse and extract relevant data.
  • Batch Processing: Handle large datasets with retry logic and detailed error reporting.
  • Google Sheets Integration: Streamline data import/export through seamless Sheets connectivity.
  • Data Preprocessing: The app automatically preprocesses the search results, improving the accuracy and relevance of extracted data.
  • Error Handling: Detailed error messages and logs help diagnose issues with API calls or data input.
  • User-Friendly Dashboard: Simplified interface for uploading datasets, configuring queries, and downloading results.

Setup Instructions

Prerequisites

Ensure you have the following installed on your system:

  • Python 3.8 or later
  • pip (Python package manager)
  • Virtual environment tools (venv or virtualenv)

Follow these steps to set up and run the project locally:

  1. Clone the repository:

    git clone https://github.com/Exynos21/Search-It.git
    cd Search-It
  2. Create and activate a virtual environment:

    python -m venv myenv
    source myenv/bin/activate    # For macOS/Linux
    myenv\Scripts\activate       # For Windows
  3. Install dependencies:

    pip install -r requirements.txt
  4. Add your API keys and environment variables:

  • Rename .env.example to .env and add your API keys:
SERP_API_KEY=your_serpapi_key
GROQ_API_KEY=your_groq_api_key
  • Rename credentials.json.example to credentials.json and update it with your Google Sheets API credentials.
  1. Run the Application:
    streamlit run app.py
  2. Open your browser and go to the URL provided by Streamlit, usually http://localhost:8501, to access the dashboard.

Usage Guide

  1. Upload Data :- Upload a CSV file or connect to a Google Sheet to load your data.
  2. Define Search Queries :-
  • Choose the primary column from your data that contains the entities you want to search for.
  • Define the search pattern for each entity by inputting a custom query in the provided search fields.
  • Example search query: Find the latest product reviews for {entity}
  1. View and Download Results :-
  • Processed data will be displayed in the dashboard.
  • Download the final dataset as a CSV for further analysis.
  • Alternatively, you can upload the processed data directly to your Google Sheet by selecting the "Upload to Google Sheets" option in the dashboard.

API Keys and Environment Variables

Make sure to set up the following API keys and environment variables for the app to function correctly:

  • SERP_API_KEY: This is required to connect to SerpAPI for web search queries.
  • GROQ_API_KEY: Used for processing data with Groq.
  • Google Sheets API Credentials: The credentials.json file, which contains your Google Sheets API credentials.

Ensure that you have the .env and credentials.json files set up correctly by renaming .env.example and credentials.json.example to .env and credentials.json respectively, and filling in your keys.

Demo Video

Watch a quick walkthrough of the project here.

About

The AI Search Dashboard is a user-friendly application that allows users to upload datasets, define search queries, and retrieve enriched information from the web using AI-powered tools. This project integrates APIs for web search and natural language processing to streamline information extraction at scale.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages