pokemon-api-server

by Harnishnava
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • The server uses FastAPI for its backend to handle requests and integrate with the PokeAPI database

  • The server has a Next.js frontend for the chat-based interface

  • The server uses OpenAI's API for its RAG (Retrieval Augmented Generation) system to provide enhanced AI responses for Pokemon queries

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
      2. Frontend
    2. Environment Variables