Skip to content

Basic LLM chatbot built using Langchain and Chainlit

Notifications You must be signed in to change notification settings

muhdbilal/llm-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLM Chatbot

LLM chatbot with Retrieval Augmented Generation (RAG), built using Langchain and Chainlit

Example

  • To use the basic version of the chatbot, run the following:
chainlit run chatbot.py
  • To use the version of the chatbot with RAG, run the following:
chainlit run chatbot_rag.py

The code requires making a .env file in the main folder directory with a Huggingface API Token defined as:

HUGGINGFACEHUB_API_TOKEN = <your-key>

The RAG verson of the chatbot will read all pdf files placed in the database folder.

About

Basic LLM chatbot built using Langchain and Chainlit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages