|
|
--- |
|
|
title: DocsQA |
|
|
emoji: π |
|
|
colorFrom: red |
|
|
colorTo: red |
|
|
sdk: docker |
|
|
app_port: 8501 |
|
|
tags: |
|
|
- streamlit |
|
|
pinned: false |
|
|
short_description: Upload a document and ask questions based on its content |
|
|
--- |
|
|
|
|
|
# Welcome to DocsQA! |
|
|
|
|
|
|
|
|
``` |
|
|
project/ |
|
|
βββ app.py # Main entry point |
|
|
βββ config.py # Configuration settings |
|
|
βββ utils/ |
|
|
β βββ document_processor.py # Document reading & processing |
|
|
βββ models/ |
|
|
β βββ llm_loader.py # Qwen LLM loading |
|
|
β βββ retriever.py # FAISS retriever setup |
|
|
βββ chains/ |
|
|
β βββ qa_chain.py # QA chain creation |
|
|
βββ ui/ |
|
|
βββ sidebar.py # Sidebar components |
|
|
βββ chat.py # Chat interface |
|
|
``` |
|
|
|
|
|
|