🤖 ChatBot with Conversation Memory : Streamlit App, LangChain
, StreamlitChatMessageHistory, Groq API
to : llama3, Mixtral, Gemma
This repository contains an example of a Memero Conversational ChatBot (RAG) application built using LangChain
and Groq
Llama3.
-
LangChain:
- llama-index provides the core functionality for handling language models, prompts, and text processing.
- We use the Llama3 LLM (Large Language Model) from llama-index for text generation.
-
Chroma:
- Chroma is used as the vector store for document embeddings.
- It organizes and indexes documents based on high-dimensional vectors.
-
Groq Llama3:
- Groq Llama3 is integrated for querying and retrieving relevant documents.
- It combines Groq queries with Llama3 embeddings to fetch contextually relevant information from PDF.
-
Installation:
- Install the required Python packages using
pip install -r requirements.txt
.
- Install the required Python packages using
-
Configuration:
- Set up your Groq API key and other necessary credentials.
-
Run the RAG System:
- Initialize the app with Groq Api on Streamlit App
streamlit run main.py