Build an Army of Chatbots with OpenAI API and Streamlit

Published: 20 July 2023
on channel: Kris Ograbek
643
23

Let's build a multi-language ChatGPT clone with Streamlit and OpenAI API. All in Python in 127 lines of code!

Helpful Links
The previous video with the basic chatbot:    • Build a ChatGPT Clone in Less Than 19...  

GitHub Repo to start this project: https://github.com/krisograbek/stream...
GitHub Repo with the entire code from this video: https://github.com/krisograbek/multib...

Streamlit Chat Docs: https://docs.streamlit.io/knowledge-b...
Create OpenAI API Key: https://platform.openai.com/account/a...


Chapters:
0:00 Intro
0:56 Clone the base project
2:03 Create virtual env and install packages
4:12 Add OpenAI API key
5:15 Run the base app for the test
5:53 Add the Streamlit sidebar
6:54 Add model selection (session state)
11:15 Display the current model
12:00 Add bot roles dictionary
12:38 System role explained
14:53 Add bot roles (session state)
19:59 Reset messages
21:56 Display the current bot role
22:50 Create an additional bot
24:02 Compare results with ChatGPT
25:28 Compare the "old" and the "new" chatbot
25:57 Outro


Watch video Build an Army of Chatbots with OpenAI API and Streamlit online without registration, duration hours minute second in high quality. This video was added by user Kris Ograbek 20 July 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 643 once and liked it 23 people.