Gen-AI Developer Classroom notes 04/Jul/2026

Document and Document Loaders

  • Document is an object that refers to individual doc or part of the document.
  • Refer Here for the class reference of document object

  • Generally we dont create document objects we load the document objects from files or urls

  • Document Loaders help in reading from various sources and return document objects
  • Refer Here for document loaders

Lets Experiment

  • Create a text file and store it data/intro.txt
  • Add a pacakge called as langchain_community
uv add langchain_community
  • Lets use text loader

  • Lets create a pdf file and try reading that.

  • using some loaders will work when we install external packages

  • Lets create a csv loader

  • Lets load from directory with files

  • Refer Here for notebook

By continuous learner

enthusiastic technology learner

Leave a Reply

Discover more from Direct AI Powered By Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading