Spaces:
Runtime error
Runtime error
File size: 1,180 Bytes
58215f2 44f4fc3 90bdcf8 44f4fc3 2d97f06 58215f2 8db71ba 44f4fc3 662e8d9 d26e411 662e8d9 d26e411 662e8d9 90bdcf8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | ---
title: Internal Docs QA
emoji: π
colorFrom: purple
colorTo: indigo
sdk: gradio
sdk_version: 5.37.0
app_file: app.py
pinned: false
---
# π Internal Docs Q&A
This app allows you to **ask questions about internal documents** (like PDFs) and get accurate, AI-generated answers using embeddings and semantic search.
Built with:
- π§ Transformers
- π¬ Sentence Transformers
- π PDFPlumber
- π Gradio UI
- π FAISS Vector Search
---
## π How It Works
1. Documents are parsed into chunks.
2. Each chunk is embedded using a pre-trained model.
3. When you ask a question, itβs converted to an embedding.
4. The app retrieves the most relevant chunks and uses a language model to answer.
5. Done β the answer is displayed with context!
---
## π Upload Your Own PDFs (Coming Soon)
This Space will support dynamic PDF uploads to retrain the knowledge base on the fly β stay tuned!
---
## π Example Questions
- What is GitLabβs mission?
- How does GitLab support contributions?
- Who is responsible for security policies?
---
## π€ Contributions
Feel free to fork, experiment, and improve it! PRs are welcome.
---
## π License
MIT |