A simple FastAPI server with a /chat endpoint.
- Install dependencies:
pip install -r requirements.txt- Run the server:
uvicorn main:app --reloadThe server will be available at http://localhost:8000
GET /: Health check endpointPOST /chat: Chat endpoint that accepts JSON with a "message" field
Once the server is running, you can access the auto-generated API documentation at: