Build a document-based question answering system by using Docling with Granite 3.1

Document Q&A System Tutorial Summary

Tutorial Summary

The video discusses the process of creating a document-based question and answering system that operates locally on your computer using IBM’s open-source toolkit, Docling, and the Granite 3.1 model.

Key Points

  • Introduction to Docling and Granite 3.1 for document format conversion and processing large text data.
  • Installation of Ollama is necessary to run the Granite 3.1 model.
  • Step-by-step tutorial recommended for better understanding and following along.
  • The tutorial code is available on GitHub as a Jupyter Notebook with six defined steps.
  • Steps include environment setup, document format detection, document conversion, question-answering chain setup, interface setup, and actual Q&A execution.
  • A sample document used in the tutorial is an IBM red book on creating OpenShift clusters, which is a large PDF file.
  • Demonstrated the process of retrieving, converting, and answering questions based on the document.
  • Outputs exemplify the effectiveness of using Docling for document conversion to markdown format.
  • The tutorial encourages users to try the code and provide feedback.

Youtube Video: https://www.youtube.com/watch?v=eBJblHgDaRs
Youtube Channel: IBM Technology
Video Published: 2024-12-19T12:01:00+00:00