filmov
tv
Build a Streamlit Chatbot FAST ๐คฏ
ะะพะบะฐะทะฐัั ะพะฟะธัะฐะฝะธะต
๐๐๐ฆ๐๐ฅ๐๐ฃ๐ง๐๐ข๐ก
โโโโโโโโโโโโโโโโโโโโโโโโโโ
In this video, I demonstrate how to use the new chat feature in Streamlit to build a ChatGPT clone. Beginning with a simple chat application, we explore Streamlit's "chat_message" and "chat_input" features, adjust user roles, and customize avatars.
I also explain how to use the session state feature to retain conversation history, similar to a regular browsing session. Later in the video, we enhance our application by integrating the OpenAI library and Streamlit's secrets manager to securely manage API keys.
โญ ๐ง๐๐ ๐๐ฆ๐ง๐๐ ๐ฃ๐ฆ:
0:00 โ Intro
0:30 โ Simple Example
1:39 โ Echo Bot
4:10 โ ChatGPT Clone
7:44 โ Outro
๐ง๐ข๐ข๐๐ฆ ๐๐ก๐ ๐ฅ๐๐ฆ๐ข๐จ๐ฅ๐๐๐ฆ
โโโโโโโโโโโโโโโโโโโโโโโโโโ
๐๐ข๐ก๐ก๐๐๐ง ๐ช๐๐ง๐ ๐ ๐
โโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐๐๐ ๐บ๐ฒ ๐ฎ ๐ฐ๐ผ๐ณ๐ณ๐ฒ๐ฒ?
If you want to support this channel, you can buy me a coffee here:
ะะพะผะผะตะฝัะฐัะธะธ