ChatRAG / README.md
Binayak Panigrahi
Add application file
a966822
---
title: ShopBot
emoji: πŸ›οΈ
colorFrom: green
colorTo: yellow
sdk: docker
app_port: 8000
pinned: false
---
# ShopBot β€” AI Product Search
A RAG-powered product search API using NVIDIA Llama + FastAPI.
## Environment Variables
Set these in your HuggingFace Space **Settings β†’ Variables and secrets**:
| Variable | Required | Description |
|---|---|---|
| `NVIDIA_API_KEY` | βœ… Yes | Your NVIDIA API key |
| `PHP_DB_URL` | βœ… Yes | URL to your PHP DB layer |
| `INTERNAL_SECRET` | No | Shared secret for PHP auth |
## Endpoints
- `/` β€” Chat UI
- `/search` β€” POST: Natural language product search
- `/health` β€” Health check
- `/docs` β€” Swagger API docs
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference