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

포켓몬 RAG AI 어시스턴트

PokeAPI 데이터베이스와 AI 기능을 결합하여 포켓몬에 대한 정확한 정보를 제공하기 위해 RAG(Retrieval Augmented Generation)를 사용하는 대화형 포켓몬 도우미입니다.

특징

  • 포켓몬 쿼리를 위한 채팅 기반 인터페이스
  • 정확한 포켓몬 데이터를 위한 PokeAPI와의 통합
  • 향상된 AI 대응을 위한 RAG 시스템
  • 최신 Next.js 프런트엔드
  • FastAPI 백엔드

설정

백엔드

  1. Python 종속성 설치:

지엑스피1

  1. 백엔드를 실행합니다.
uvicorn backend.main:app --reload

프런트엔드

  1. 프런트엔드 디렉토리로 이동합니다.
cd frontend
  1. 종속성 설치:
npm install
  1. 개발 서버를 실행합니다.
npm run dev

환경 변수

다음을 사용하여 루트 디렉토리에 .env 파일을 만듭니다.

OPENAI_API_KEY=your_openai_api_key
-
security - not tested
F
license - not found
-
quality - not tested

PokéAPI에서 포켓몬 데이터 가져오기

  1. Features
    1. Setup
      1. Backend
      2. Frontend
    2. Environment Variables
      ID: 5y1qp5a2dw