First, clone this repo and install requirements (preferably in venv)
pip install -r requirements.txtGet Free Gemini API Key
Place api key in .env file (create new file if one doesnt exist)
GEMINI_API_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxxxx'
Run the development server:
uvicorn main:app --reload
# or
fastapi dev main.pyOpen http://127.0.0.1:8000/docs in your browser to see the documentations and test api endpoints
You can start by looking at main.py to see all the api routes
Sometimes live reload stops working and you have to restart server
Depending on what ide you use server might not fully shutdown after closing program and you have to manually close all python processes in task manager