vc-aie4-pythonic-RAG / chainlit.md
vinod chandrashekaran
initial commit to hf spaces
f63bc6b
|
raw
history blame
871 Bytes

Welcome to Chat with Your Uploaded Files!!

This is my completed pythonic RAG assignment, completed for Session 3 of the AI Engineering Cohort 4.

With this application, you can chat with TWO uploaded text or pdf fileis that is smaller than 20MB!

App features:

  1. Allow user to upload TWO documents (instead of a single document)
  2. Format of doc: they can be either text files or pdf docs.

Code features:

  1. Text splitter - RecursiveTextSplitter from Langchain
  2. Vector store - using Chroma db
  3. Coded the chain in two ways for my own education a. traditional Langchain syntax - two step process of with 'stuff documents chain' and 'retrieval chain' b. using LCEL syntax with Runnables
  4. Most processing pythonic steps implemented via a single class with modular components that can be replaced with others (e.g., text splitter, vector store, etc.)