نمایش چکیده فارسی

A Local RAG-Based Framework for Multi-Format Question Generation and Document-Grounded Question Answering from PDF Content

Amir Hossein Baradaran1 Saeedeh Sadat Sadidpour2 Kaveh Ahangar Beik3 Seyed Mostafa Hosseini Shakib4

Abstract :
Large language models have demonstrated strong capabilities in natural language generation; however, directly applying their pretrained knowledge to document-specific educational tasks may result in responses that are insufficiently grounded in the target material. This paper presents a local retrieval-augmented generation (RAG) framework for automatic question generation and document-grounded question answering from PDF content. The proposed system integrates document text extraction and optical character recognition, overlapping text segmentation, semantic embedding, FAISS-based vector retrieval, and locally deployed large language models through Ollama. Dedicated prompting strategies are developed to generate four educational question formats: essay, short-answer, multiple-choice, and fill-in-the-blank questions. A refinement stage is further employed to improve the coverage and structure of the generated questions, while retrieval-based answer generation grounds responses in the most relevant portions of the source document. For interactive use, the framework is integrated into a Streamlit-based interface that enables PDF upload and conversational question answering. The implemented system demonstrates the feasibility of combining local language models, semantic retrieval, and task-specific prompting within a unified document-centered educational framework while reducing dependence on external cloud-based language-model services.

Keywords : retrieval augmented generation (rag) large language models automatic question generation question answering semantic retrieval faiss local llms educational nlp


زبان مقاله : انگلیسی
محور مقاله : فناوری های کاربردی هوش مصنوعی و کاربردهای آن در علوم مختلف
محل انتشار : کنفرانس ملی فناوری اطلاعات، نانوتکنولوژی، هوش مصنوعی و آینده پژوهی فناوری
آدرس وب سایت کنفرانس : itnaf.ir
کد IOI مقاله : AAHD-ABKEGH
لینک مستقیم مقاله : https://isnac.ir/AAHD-ABKEGH
نمایش چکیده فارسی : https://isnac.ir/SA/AAHD-ABKEGH

سایر مقالات محل انتشار
  1. A Study on Design Understandability and Interaction of the therapy-specific Robots
  2. طراحی و مهندسی یک حسگر زیستی نوری چند مدی پلاسمونیک مبتنی بر تشدیدگرهای حلقه شکاف برای سنجش جامع آنتی‌ژن
  3. طراحی یک اسیلاتورکنترل شونده با ولتاژ با نویز فاز بسیار پایین و بازه وسیع فرکانسی با تکنولوژی نانولوله کربنی برای کاربردهای PLL
  4. یک چارچوب هوشمند آگاه به زمینه برای ارتباطات V2V و V2Iدر شبکه‌های خودرویی شهرهای هوشمند با استفاده از داده‌های ترافیکی شبکه سلولی
  5. An Ensemble Non-Dominated Feature Selection Method: A Case Study on Prostate Cancer
  6. تشخیص زودهنگام پوسیدگی دندان با استفاده از شبکه‌های عصبی
  7. Simulation and Performance Comparison of Torque Tube and LVDT Sensors in Displacer-Based Level Measurement Systems
  8. ارتقا سامانه ناوبری پهپاد مهاجر ۶ با استفاده از فناوری
  9. کاربرد نانوذرات مگنتیت (Fe3O4) در پزشکی (از سنتز تا عملکرد)
  10. Simulation and Modeling of Floating-Gate Non-Volatile Memory Performance: Focus on Oxide Thickness, Programming Speed, and Charge Transport Mechanisms
  11. Fraud Analytics with Big Data: A Literature Review on Machine Learning Algorithms in Bankruptcy Prediction and Financial Fraud Detection
  12. تحلیل آینده‌پژوهانه هم‌گرایی هوش مصنوعی، فناوری نانو و فناوری اطلاعات در مسیر تحول صنعتی آینده
  13. نقش تحول دیجیتال در خدمات کتابخانه‌های عمومی برای توان‌یابان جسمی و ذهنی
  14. Prediction and Optimization of Oxygen Production under Microgravity Conditions Using Machine Learning
  15. Simulation and Performance Comparison of Ultrasonic, Non-Contact Radar, and Guided Wave Radar Sensors in Level Measurement Systems