File size: 871 Bytes
f63bc6b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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.)