Skip to main content

How to create a GenAI ChatBot using Streamlit and Anthropic Claude LLM Model

GenAI Chatbot with Streamlit and Anthropic Claude LLM model

GenAI-ChatBot is a chatbot application that utilizes Streamlit for the frontend and LangChain for the backend. The chatbot integrates with AWS Bedrock for language model interactions, enabling intelligent and dynamic conversations.

Features

  • Conversational AI chatbot powered by LangChain.
  • Interactive web-based UI built with Streamlit.
  • AWS Bedrock integration for natural language responses.
  • Supports conversation memory for contextual awareness.
  • Easy setup and deployment.

GitHub Repo: Clone and use latest code from here.

https://github.com/SolutionInsights-git/GenAI-Chatbot



Comments

Popular posts from this blog

Fix: "Cannot set a credential for principal 'sa' . (Microsoft SQL Server, Error: 15535)" and “User is not associated with a trusted sql server connection" Errors

Recently, I had happen to struck with the following errors when I tried to reset the SA password through the SQL Server 2008 R2 Express. " Cannot set a credential for principal 'sa' . (Microsoft SQL Server, Error: 15535) " and then, “ User is not associated with a trusted sql server connection " From my research I have found the solution and that perfectly worked in SQL management studio. Hence, I thought of sharing my findings with others. ========================================================= Advertisement: Choosing .NET Core Worker Services OR Windows Services? ========================================================= Steps to reset the password in SQL Server 2008 R2 Express and fix for the errors: Step 1. Go to SQL Server Instance -> Properties/Security tab and change the mode to SQL Server authentication mode. Step 2. Go to Security/Logins, then open 'sa' login properties,          a. Uncheck the "Enforce passwor...

ICallbackEventHandler - How to invoke a Server side code from client side script without postback in ASP.NET?

I had received above questions from my team mate, hence I thought exploring and writing a post about Call back Event .for our reference. Now, the actual requirement is a set in the business logic (ASP.NET code) should be executed without page post back from server-side scripting. So,  how client callbacks can be achieved within Server-side scripts? Yes, the answer is using ICallbackEventHandler interface with ASP.NET and JQuery scripts. Let’s understand the technique with code snippets, a simple example is taken here for explanation for ease of learning. 1.       Let’s start with Server side code changes, The ICallbackEventHandler interface is inherited to implement the RaiseCallbackEvent and GetCallbackResult methods. public partial class _Default : System.Web.UI. Page , System.Web.UI. ICallbackEventHandler {} ========================================================= Advertisement: Choosing .NET Core Worker Services OR Windows Service...

How to Set Up SonarQube in IntelliJ: A Step-by-Step Guide

SonarQube in IntelliJ: (Looking for SonarLint then check here:  How to install and execute Sonarlint ) Setting up SonarQube in IntelliJ can significantly enhance your code quality by identifying bugs and vulnerabilities. Follow these steps to integrate SonarQube with IntelliJ: Step 1 :  Install SonarLint PluginOpen IntelliJ and navigate to Settings. Go to Plugins > Marketplace. Search for SonarLint, install it, and restart the IDE. Step 2 : Configure SonarLint Click on SonarLint at the bottom left of IntelliJ. Select Configure SonarLint. In the popup, check the box for Bind project to SonarQube/SonarCloud and click on Configure the connection. Step 3 :  Set Up the ConnectionIn the new popup, click the + icon to add a new connection. If the + icon is not visible, go to File > Settings > New UI and disable it. Apply changes and restart the IDE. Name your connection and select SonarQube. Enter the SonarQube URL (e.g., https://sonar.prod.company.com) and click Next....