Pokemon RAG AI Assistant
An interactive Pokemon assistant that uses RAG (Retrieval Augmented Generation) to provide accurate information about Pokemon by combining the PokeAPI database with AI capabilities.
Features
- Chat-based interface for Pokemon queries
- Integration with PokeAPI for accurate Pokemon data
- RAG system for enhanced AI responses
- Modern Next.js frontend
- FastAPI backend
Setup
Backend
- Install Python dependencies:
pip install -r requirements.txt
- Run the backend:
uvicorn backend.main:app --reload
Frontend
- Navigate to the frontend directory:
cd frontend
- Install dependencies:
npm install
- Run the development server:
npm run dev
Environment Variables
Create a .env
file in the root directory with:
OPENAI_API_KEY=your_openai_api_key
Last updated on