Spaces:
Runtime error

RagChatBotTipe / README.md
Darshanpurohit's picture
Update README.md
27f8f70 verified
|
Raw History Blame Contribute Delete
1.24 kB
---
title: TIPE AI - Trade Intelligence Chatbot
emoji: πŸ€–
colorFrom: blue
colorTo: indigo
sdk: docker
app_port: 7860
pinned: true
---
# πŸ€– TIPE AI – Trade Intent Prediction Engine
A RAG-powered trade intelligence chatbot built with **Flask**, **Pinecone**, and **Google Gemini**.
## Features
- πŸ” Semantic search over trade records via **Pinecone**
- πŸ€– AI-powered answers using **Gemini 2.5 Flash**
- πŸ“Š Structured trade intelligence reports
- 🌐 Supports Exporters, Importers, and Global News namespaces
## πŸ” Environment Variables (Secrets)
> ⚠️ Do **NOT** upload a `.env` file. Instead, add these as **Secrets** in your HF Space settings:
| Secret Name | Description |
|---|---|
| `PINECONE_API_KEY` | Your Pinecone API key |
| `PINECONE_INDEX` | Your Pinecone index name (e.g. `trade-index`) |
| `GEMINI_API_KEYS` | Your Google Gemini API key(use comma seperated for multiple keys) |
### How to add Secrets on Hugging Face:
1. Go to your Space β†’ **Settings** tab
2. Scroll to **Repository secrets**
3. Click **New secret** and add each variable above
## Usage
Ask questions like:
- *"Show me top exporters in textile industry"*
- *"Find importers looking for electronics"*
- *"Latest trade risk news"*