This repo includes a small FastAPI app in api_server/ that exposes a LangGraph sentiment workflow.
- Install deps:
pip install -r requirements.txt- Start the server:
uvicorn api_server.app:app --reload- Try it:
curl -s -X POST http://127.0.0.1:8000/process \
-H 'content-type: application/json' \
-d '{"text":"This product is terrible"}'Health check:
curl -s http://127.0.0.1:8000/healthz