Anteemony / RAG-Playground

Chat with your PDF file using the LLM of your choice
https://unify-rag-playground.streamlit.app/
7 stars 5 forks source link

Update Codebase #53

Closed Anteemony closed 4 months ago

Anteemony commented 4 months ago

Update codebase to use official create_retrieval_chain which fixes #52

Streams output and fixes #46

Uses a history_aware_retriever which fixes #36

Stores Vectorstorage in session rather than files (Will this come with performance costs?)

Updated code comes with an expression format that gives us the flexibility to proceed with #29 #28 and others.

Anteemony commented 4 months ago

Here's the LCEL (LangChain Expression Language) Docs Link -> https://python.langchain.com/docs/expression_language/

It should make sense if you're familiar with Unix systems. I'm not, so I was thrown off when I first encountered it. Skimming through it tells me it looks promising. I'd recommend you take a look @OscarArroyoVega @martinoywa

Anteemony commented 4 months ago

The Dynamic Provider Feature commit fixes #43

The second commit adds sidebar tabs for the playground features e.g. update chunk size #29 , generate code output #37 .

The last two fix bugs.

Anteemony commented 4 months ago

Moved to a package structure as the lines of code were getting too big and hard to navigate through. This fixes #55