Spaces:
Runtime error
Runtime error
metadata
title: CompassIA
emoji: π¬π
colorFrom: green
colorTo: blue
sdk: docker
app_port: 7860
CompassIA
This Space hosts the backend API for CompassIA, a PDF Question Answering system. CompassIA is a smart agent for MaarifCompass that allows users to ask questions about PDF documents, leveraging advanced AI models for natural language understanding and information retrieval.
It uses:
- Python FastAPI for the web API.
- DeepSeek Chat (via OpenRouter) as the Large Language Model.
- BGE-M3 from FlagEmbedding for local, multilingual text embeddings.
- ChromaDB for persistent vector storage.
- pdfminer.six and PyTesseract (with Poppler) for robust PDF text extraction and OCR.
How to Use:
This Space exposes a /compassia/ API endpoint. You can interact with it using curl, Postman, Insomnia, or by integrating it with your Next.js frontend.
API Endpoint: /compassia/ (POST request)
Request Body (JSON):
{
"question": "Your question about the PDF documents"
}