In this video, you’ll learn how to build and customize a chatbot frontend using Streamlit and Botpress. We’ll cover everything from connecting your bot via the Chat API to handling real-time messages with server-sent events, and even integrating a knowledge base for personalized, informed responses, giving you full control over your chatbot’s behavior and UI.
Botpress is a powerful platform that goes beyond this tutorial. More content coming soon covering AI features, integrations, and automation.
Resources:
• Wine Reviews Dataset → https://www.kaggle.com/datasets/zynic...
• Streamlit LLM App guide → https://docs.streamlit.io/develop/tut...
• Chat API docs → https://botpress.com/docs/api-referen...
Try Botpress for free → https://hubs.la/Q01Lf4-J0
🔔 Subscribe for more tips, tutorials, and feature drops.
Happy bot building! 🪄
#whatsappchatbot #knowledgebase #Botpress
📣 Stay Connected
• LinkedIn → https://hubs.la/Q01Lf6Wm0
• Twitter → https://hubs.la/Q01Lf6Y70
• Discord → https://hubs.la/Q01WYl9R0
Chapters
0:00 Step 1: Building a Chatbot
0:57 Step 2: Introducing the Chat API
1:12 Installing the chat integration
1:26 Creating a Python project
2:41 Chat API analysis
3:01 Step 3: Building a Custom API Client
4:15 Creating a user
5:33 Setting environment variables
5:45 Step 4: Creating a Streamlit App
6:59 Creating a conversation
7:36 Creating a client function for messaging
8:07 Showing message history
9:07 Creating a message in the app
9:30 Step 5: Creating a SSE Listener Function
10:35 Testing the SSE listener
11:15 Parsing listener events
12:41 Adding the listener to the app
13:55 Step 6: Rendering Message history
14:52 Adding roles to messages
16:25 Step 7: Customizing the Bot
17:14 Adding data to the Knowledge Base
17:37 Updating the bot's instructions
18:38 Sign-off
#streamlit #python #api