monusharma21's picture
Update README.md
926f777 verified
|
Raw
History Blame Contribute Delete
484 Bytes
---
title: Monu Portfolio Chat
emoji: πŸ’¬
colorFrom: blue
colorTo: purple
sdk: docker
app_port: 7860
pinned: false
---
# Monu Kumar Portfolio Chat API
FastAPI endpoint serving a fine-tuned Gemma 2 2B-it model (GGUF, Q4_K_M) via llama.cpp.
- `GET /` β€” health check
- `POST /chat` β€” body: `{"message": "...", "history": [{"role": "user", "content": "..."}]}` β†’ `{"reply": "..."}`
Set the `MODEL_REPO` and `MODEL_FILE` variables in Space Settings if you rename the model repo.