pokemon-api-server

by Harnishnava
Verified

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

  1. Install Python dependencies:
pip install -r requirements.txt
  1. Run the backend:
uvicorn backend.main:app --reload

Frontend

  1. Navigate to the frontend directory:
cd frontend
  1. Install dependencies:
npm install
  1. 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
-
security - not tested
F
license - not found
-
quality - not tested

Fetch Pokémon data from PokéAPI

  1. Features
    1. Setup
      1. Backend
        1. Frontend
        2. Environment Variables