Abbas-Asad/data-retrieval-agent
0
Data Retrieval Agent
A professional product analysis assistant that helps users explore and compare e-commerce products. The agent can fetch real-time product data from APIs and perform web searches to provide detailed product information.
Features
- ๐ Real-time product data fetching from APIs
- ๐ Web search capabilities using DuckDuckGo
- ๐ Structured product information display
- โฐ Timestamp-based data freshness
- ๐ฌ Interactive chat interface
Environment Variables
The following environment variables need to be set:
GEMINI_API_KEY: Your Gemini API key for the language model
Local Development
- Clone the repository
- Create a
.envfile with yourGEMINI_API_KEY - Install dependencies:
pip install -r requirements.txt- Run the application:
chainlit run app.pyDeployment
This application is configured for deployment on Hugging Face Spaces using Docker. The Dockerfile is included in the repository.
Usage
- Start a chat session
- Provide either:
- A product API URL to fetch details
- A product description to search online
- The agent will analyze and present the information in a structured format
License
MIT License
