Chainlit CrashCourse - Build LLM ChatBot with Chainlit and Python & GPT

preview_player
Показать описание
In this tutorial we will explore Chainlit - A python framework for building Large Language Model and AI ChatBot similar to Streamlit.

pip install chainlit
NB: version of chainlit in this video: 0.2.105

⚡ Implement with Python From Scratch⚡ : The Map Function (How Maps works)

🎓=== Check out these Awesome Data Science Courses!===🎓

⏲️===TimeStamps===⏲️
0:01 Introduction
00:53 Overview of Chainlit
03:02 Installation & Setup
04:30 configuration
04:50 Running Chainlit
07:00 Basic Chainlit App
09:40 Run app with reload or watch
12:40 On Chat Start
14:10 Elements
14:30 Add NLP logic
15:50 Dealing with File Uploads
18:56 Adding Sentiment Analysis
20:20 Using LLM Models like GPT4All
26:54 Behind the scene for GPT4All
27:35 Summary of App
28:44 Using OpenAI & Langchain
29:10 Recap

If you liked the video don't forget to leave a like 👍 or subscribe ❤️.
⚡ If you need any help just message me in the comments, you never know it might help someone else too. ⚡

JCharisTech

Support the Channel: Become a Patreon

Follow
Рекомендации по теме
Комментарии
Автор

thank you for the examples and explanation !

Jordan-trfn
Автор

Yah! Glad to find the first YouTube video on chainlit! This is a really good one too. Thank you! Looking forward to seeing what will be possible with it as it matures!🎉

bwilliams
Автор

You do such an excellent job explaining!

AlexSkarulis
Автор

how can I restrict chatbot to only give answer to current context not to any question provided to it?

dhczfis
Автор

How can i do this on a jupyter notebook or Google colab?

DANNYEL
Автор

at last when you say gpt4 i was going to skip that but when you import then i understand it will not require api 😅😅😅😅 thanks brother

yashrawat
Автор

Hey, can anyone help me with chat history in frontend?, like how can we add it in custom frontend?

ezSyntax
Автор

Wonder if this can work with tree of thought?

Also langflow or flowise?

StephenRayner
Автор

Does this support allowing us to upload files? Or is it just text in / out?

StephenRayner
Автор

Is all tools including open-ai used are free:I don't want waste time if it is?

maths_physique_informatiqu
Автор

Hi Thanks for the video. I am getting this error - SSL: CERTIFICATE_VERIFY_FAILED. How to fix this issue? I am using gpt4all 1.0.3 version and the model name is Can you please assist?

anj
Автор

This is so cool! Do you know how to deploy a chatbot with a login page? When we deploy a custom chatbot using company knowledge base, how can we make sure only certain users can acces sthe chatbot?

zhiyingwang
Автор

i have downloaded the model but getting the error on model path you have told that if i we will not use that path that will work this the my model path

how did you put there the model path

kbfeuwj
Автор

the send_message doesn't work anymore, solved with this: cl.Message(content=f"here the message:{result}").send()

tlabvision