|
Download chainlit.md from vincha77/vc-aie4-pythonic-RAG: direct link, hf CLI and curl.
- Browser
- Download file 871 Bytes
-
https://huggingface.co/spaces/vincha77/vc-aie4-pythonic-RAG/resolve/main/chainlit.md
- Command line
-
hf download hf://spaces/vincha77/vc-aie4-pythonic-RAG/chainlit.md
-
curl -L -o chainlit.md https://huggingface.co/spaces/vincha77/vc-aie4-pythonic-RAG/resolve/main/chainlit.md
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:
- 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.)