Skip to content

riteshhere/context-aware_chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

context-aware_chatbot

Chatbot using Amazon Bedrock, Langchain & Streamlit

Project Overview

Leveraging LangChain and Amazon Bedrock, we develop a context-enhanced chatbot utilizing ConversationSummaryBufferMemory for historical context retention, ConversationChain for dialogue orchestration, and Streamlit for UI deployment. This guide covers environment setup, LM configuration, memory handling, and UI development for advanced, context-aware chatbot creation, targeting developers and AI aficionados to elevate digital user interaction and engagement.


Project Architecture

architecture


Detailed Explanation

For an in-depth guide on the implementation, please visit: Medium Blog


How to run

  1. Repository Cloning: Clone the repository to initiate your local setup.
  2. Virtual Environment: Establish an isolated environment for dependency management
    conda create -p env_name python==3.10 -y
    
  3. Dependency Installation: Install necessary dependencies using requirements.txt
    pip install -r requirements.txt
  4. Application Initialization: Launch the application through Streamlit
    streamlit run app.py
  5. AWS Configuration: To configure AWS please run the following in the terminal and provide AWS credentials.
    aws configure
    

About

Chatbot using Amazon Bedrock, Langchain & Streamlit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages