Spaces:
Sleeping
Sleeping
| title: ChatoAI Backend | |
| emoji: ๐ | |
| colorFrom: blue | |
| colorTo: indigo | |
| sdk: docker | |
| app_port: 8787 | |
| pinned: false | |
| # ChatoAI backend | |
| Search + RAG proxy for the oAI / ChatoAI mobile app (DuckDuckGo web search + | |
| PDF/DOCX text extraction + MiniLM embeddings). The on-device model still writes | |
| every answer; this service only supplies grounding context. | |
| Endpoints: `GET /health`, `POST /search`, `POST /ingest`, `POST /retrieve`. | |
| > When hosting on a Hugging Face **Docker Space**, this file must be named | |
| > `README.md` at the root of the Space repo, next to the `Dockerfile`, | |
| > `server.js`, `package.json`, and the `src/` folder. `app_port: 8787` tells | |
| > the Space to route traffic to the port the server listens on. | |