This AI agent is designed to automatically retrieve and extract specific information from web sources based on user-defined queries. Users can upload a CSV or connect a Google Sheet, specify search parameters, and obtain structured data about entities in their dataset.
- CSV and Google Sheets file upload
- Dynamic web search for each entity
- Custom prompt-based information retrieval
- LLM-powered data extraction
- Results display and CSV download
- Python 3.9+
- API Keys:
- Search API (SerpAPI)
- LLM API (Groq)
- Google Sheets API
- Clone the repository
git clone https://github.com/rohraharjas/llmscraper.git
cd ai-agent-project- Install dependencies
pip install -r requirements.txt- Set up environment variables
- Create a
.envfile with:SERP_API_KEY=your_api_key GROQ_API_KEY=your_llm_api_key GSHEETS_API_KEY=your_gsheet_api_key
- Run the dashboard
streamlit run app.py- Upload your data file
- Select the primary column
- Enter your custom search query
- Retrieve and download results
- Multiple field extraction
- Direct Google Sheets output
- Robust error handling
- Dashboard: Streamlit
- Data Handling: pandas
- Search API: SerpAPI
- LLM: Groq
- Backend: Python
- Agents: Langchain
- Respects web scraping terms of service
- Subject to API rate limits
- Dependent on web data availability
Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE.md file for details.