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:
- Allow user to upload TWO documents (instead of a single document)
- Format of doc: they can be either text files or pdf docs.
Code features:
- Text splitter - RecursiveTextSplitter from Langchain
- Vector store - using Chroma db
- 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
- 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.)