Skip to content

Commit 2e2242a

Browse files
committed
changes_readme
1 parent b1e5c98 commit 2e2242a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# About
22

3-
This project runs a local llm agent based RAG model on langchain using new pipesyntax [LCEL](https://python.langchain.com/docs/expression_language/get_started)(LangChain Expression Language) as well as older LLM chains(RetrievalQA), see `rag.py`. <br> We are using LECL in rag.py for inference as it has a smooth output streaming generator output which is consumed by streamlit using 'write_stream' method.
3+
This project runs a local llm agent based RAG model on langchain using [LCEL](https://python.langchain.com/docs/expression_language/get_started)(LangChain Expression Language) as well as older LLM chains(RetrievalQA), see `rag.py`. <br> We are using LECL in rag.py for inference as it has a smooth output streaming generator output which is consumed by streamlit using 'write_stream' method.
44

55
The model uses persistent ChromaDB for vector store, which takes all the pdf files in `data_source` directory (one pdf about titanic for demo).
66

@@ -9,8 +9,8 @@ The UI is built on streamlit, where the output of RAG model is streamed token on
99
![image info](./assets/snap1.png)
1010

1111
### <u>LCEL - LangChain Expression Language</u>:
12-
Langchain composes chain of components in linux pip system like:</br>
13-
`chain = retriever | prompt | llm | Outputparser` </br>
12+
Langchain composes chain of components in linux pip system like:<br>
13+
`chain = retriever | prompt | llm | Outputparser` <br>
1414
See implementation in `rag.py`
1515

1616
![image info](./assets/lcel_pipe_flow.png)

0 commit comments

Comments
 (0)