This mini-project implements a Retrieval-Augmented Generation (RAG) system for document-based Q&A using large language models, specifically designed for Persian PDF files. The system utilizes jtatman/orca-tau-4k-persian-alpaca-f32 to perform semantic search and generate contextually accurate answers. The PDFProcessor class extracts and processes text from Persian PDFs, enabling efficient retrieval of relevant information. When a query is made, the system retrieves the most relevant chunks from the PDF and feeds them into jtatman/orca-tau-4k-persian-alpaca-f32 to generate responses. This setup is ideal for robust Q&A in Persian and multilingual contexts.
-
Notifications
You must be signed in to change notification settings - Fork 0
zaha2020/RAG
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published