Spaces:
Runtime error
Runtime error
| title: Rag With Pleias | |
| emoji: π’ | |
| colorFrom: green | |
| colorTo: pink | |
| sdk: gradio | |
| sdk_version: 5.29.0 | |
| app_file: app.py | |
| pinned: false | |
| license: mit | |
| # Pleias RAG PDF QA Space | |
| This Hugging Face Space allows you to ask questions about content in PDF documents using the [Pleias RAG model](https://huggingface.co/PleIAs/Pleias-RAG-350M), a phone-sized SLM with 350 million parameters.. | |
| ## π§ Model | |
| The app uses the `PleIAs/Pleias-RAG-350M` model through the [`pleias_rag_interface` library](https://github.com/Pleias/Pleias-RAG-Library). | |
| ## π Features | |
| - Accepts user queries and PDF URLs. | |
| - Extracts text from the PDFs. | |
| - Uses Retrieval-Augmented Generation (RAG) to produce contextual answers grounded in the document content. | |
| ## π οΈ Usage | |
| 1. Enter a natural-language question. | |
| 2. Provide one or more **public PDF URLs**, each on its own line. | |
| 3. Submit and get an answer, along with metadata like the backend used. | |