A simple streamlit chatbot to showcase functioning of Retrieval Augmented Generation (RAG) and how to integrate it with a public LLM to create custom chatbot with a specific knowledge.
I write about this code in my LinkedIn article https://www.linkedin.com/pulse/creating-custom-chatbot-based-rag-llm-ivan-magdolen-splfe
- 1st article
- branch "part_1"
- 2nd article
- branch "part_2"
- You can chat with custom chatbot who knows data about Zaira (my dog)
- Python 3.8 or higher
- see requirements.txt
$ git clone https://github.com/doggo-rag-chatbot.git
$ cd doggo-rag-chatbot
$ python -m venv .
$ ./Scripts/activate
$ pip install -r requirements.txtOPEN_AI_KEY='mykey'$ python embeddings_init.py$ streamlit run streamlit-app.pyhttp://localhost:8501