AI WEEK IS HERE: See All New AI Courses here.
Use Code: LEARNAI to get 21% OFF any membership. Expires soon 👇
06DAYS09HOURS18MINS21SECS
Back to courses

Developing LLM App Frontends with Streamlit

This byte-sized course will teach Streamlit fundamentals and how to use Streamlit to create a frontend for your LLM-powered applications.

3 Days

Average time students take to complete this course.

Last updated: April 2024

Overview

In this project-based course you'll learn to use Streamlit to create a frontend for an LLM-powered Q&A application. Streamlit is an open-source Python library that simplifies the creation and sharing of custom frontends for machine learning and data science apps with the world.

What you'll learn

  • How to utilize Streamlit to develop intuitive frontends for machine learning and data science applications, making your projects accessible to a wider audience
  • The basics of Streamlit, including its installation and core features, tailored for beginners to quickly start building interactive web apps
  • Integrating Large Language Models (LLMs) with Streamlit to create consumer-facing Q&A applications, leveraging the power of AI to answer user queries in real-time
  • Transitioning from Jupyter Notebooks to a production-ready web app using Streamlit, enabling you to share your LLM-powered applications with the world beyond the developer community

Why Learn Streamlit?

Large Language Models (LLMs) are the latest technological revolution, and you've probably heard a lot about harnessing the power of LLMs to use them in AI application.

But in order to make your AI application easy to use for users, you'll want a frontend that easily integrates with your LLM and provides a seamless experience for your users.

That's where Streamlit comes in.

Streamlit is an amazing open-source Python library that provides a fast way to build and share machine learning and data science applications with the world.

This Project starts with a section that teaches you everything you need to know about Streamlit, specifically designed for beginners. Then in the second section we'll jump into building the frontend for your LLM-powered Q&A App.

Wait... What's a Project?

One of the most common things we hear from students is: "I want to build more projects!".

We love hearing that, because building projects is really the best way to learn. And unique, challenging projects can really make your portfolio stand out for potential employers.

But also...it just feel so good when you actually build something real!

That's why we've created ZTM Projects. A collection of comprehensive portfolio and practice projects that you can use to advance your knowledge, learn new skills, build your portfolio, and sometimes even just have fun!

What Else Should I Know?

By becoming a ZTM member you'll not only get access to all our courses, bytes, and projects.

But you’ll also get to join our exclusive live online community classroom to learn alongside thousands of students, alumni, mentors, TAs and Instructors.

Most importantly, you'll be learning from an industry professional (Andrei) that has actual real-world experience with Streamlit and LLMs. He teaches you the exact information he uses in his role.

Finally, as with all ZTM courses, this course is a living thing. It will be constantly updated as the landscape changes so you can use it as your go-to resource for learning Streamlit now and throughout your career.

Join 1,000s of Zero To Mastery graduates that have gotten hired and are now working at companies like Google, Tesla, Amazon, Apple, IBM, JP Morgan, Facebook, Shopify + other top tech companies.

They come from all different backgrounds, ages, and experiences. Many even started as complete beginners.

So there's no reason it can't be you too.

And you have nothing to lose. Because you can start learning right now and if this course isn't everything you expected, we'll refund you 100% within 30 days. No hassles and no questions asked.

When's the best time to get started? Today!

There's never a bad time to learn in-demand skills. But the sooner, the better. So start learning Streamlit today by joining the ZTM Academy. You'll have a clear roadmap to developing the skills to build your own projects, get hired, and advance your career.

Join Zero To Mastery Now

Course curriculum

Here's an overview of what you learn in this Streamlit tutorial.

Introduction

5 lectures

Introduction3:07

PREVIEW

Byte FAQ

PREVIEW

Course Resources

BEGIN

Exercise: Meet Your Classmates and Instructor

BEGIN

Set Your Learning Streak Goal

BEGIN

Streamlit Fundamentals

12 lectures

Introduction to Streamlit4:14

BEGIN

Streamlit Main Concepts5:27

BEGIN

Displaying Data on the Screen: st.write() and Magic5:31

BEGIN

Widgets Part 1: text_input, number_input, button5:09

BEGIN

Widgets Part 2: checkbox, radio, select7:24

BEGIN

Widgets Part 3: slider, file_uploader, camera_input, image8:14

BEGIN

Layout: Sidebar1:56

BEGIN

Layout: Columns4:29

BEGIN

Layout: Expander2:09

BEGIN

Displaying a Progress Bar3:07

BEGIN

Session State7:34

BEGIN

Callbacks6:07

BEGIN

Building a Frontend for the LLM-powered Q&A App using Streamlit

8 lectures

Project Introduction and Library Installation4:08

BEGIN

Note: LangChain Version

BEGIN

Defining Functions6:13

BEGIN

Creating the Sidebar6:03

BEGIN

Reading, Chunking, and Embedding Data6:21

BEGIN

Asking Questions and Getting Answers5:24

BEGIN

Saving the Chat History5:59

BEGIN

Clearing Session State History using Callback Functions4:56

BEGIN

Where To Go From Here?

1 lectures

Review This Project!

BEGIN

Meet your instructor

Your instructor (Andrei) isn't just an expert with years of real-world professional experience. He has been in your shoes. He makes learning fun. He makes complex topics feel simple. He will motivate you. He will push you. And he will go above and beyond to help you succeed.

Andrei Dumitrescu

Hi, I'm Andrei Dumitrescu!

Andrei is a Senior Network & Software Engineer with 15+ years of experience and over 50,000+ students have taken at least one of his top-rated courses.

SEE MY BIO & COURSES

Andrei Dumitrescu

DevOps Engineer

Frequently asked questions

Are there any prerequisites for this course?

  • Basic Python knowledge is required. If you don't have that be sure to take our Python Bootcamp course first!
  • In order to build this project you must have already created an LLM-powered Q&A application, as you'll be building the frontend for that app. If you haven't done that, you can do so by taking the Build an LLM-powered Q&A App using LangChain, OpenAI and Python project right now (it'll take approx. 3 hours)!

Do you provide a certificate of completion?

We definitely do and they are quite nice. You will also be able to add Zero To Mastery Academy to the education section of your LinkedIn profile as well.

Are there subtitles?

Yes! We have high quality subtitles in 11 different languages: English, Spanish, French, German, Dutch, Romanian, Arabic, Hindi, Portuguese, Indonesian, and Japanese.

You can even adjust the text size, color, background and more so that the subtitles are perfect just for you!

Still have more questions about the Academy?

Still have more questions specific to the Academy membership? No problem, we answer some more here.

Invest in a better you. For less than a coffee a day.

Choose your currency:
$ USD US Dollar
Lifetime
100% OFF$999
$999
Only pay once, ever
You're serious about advancing your career and never getting left behind
Start Learning Now

MOST POPULAR

Save 40% vs. monthly (that's $189 a year)
Annual
100% OFF$279 / year
$23 / month
$279 / year
You're committed to getting hired and starting a career in tech
Start Learning Now
Monthly
100% OFF$39 / month
$39 / month
You're ready to upskill and advance your career
Start Learning Now

Every ZTM membership includes:

Unlimited access to all courses, projects + workshops, and career paths
Access to our private Discord with 400,000+ members
Access to our private LinkedIn networking group
Custom ZTM course completion certificates
Live career advice sessions with mentors, every month
Full access to all future courses, content, and features
100% RISK FREE

We know you'll love ZTM. That's why we provide a no hassle, 30-day money back guarantee.