Python Flet Tutorial: ChatGPT App

preview_player
Показать описание
In this video will be using the Flet library coupled with OpenAI to create our own personal ChatGPT chatbot all in pure python.

Channel GitHub:

Other tutorials can be found here:

#python #tutorial #LineIndent

Music by donut from Pixabay
Рекомендации по теме
Комментарии
Автор

Love your tutorials! Can you make a video about the navigationrail with multiple pages, while you don't have to add the navrail to each page?

GalaxyXcover-scgy
Автор

thanks! really helped me! hella underratted

ponnururakshithareddy
Автор

Very clean my guy. I just discovered Flet today, so I am still learning about it and what I can use it for.
Any suggestions?

ce-xiv
Автор

I'm still trying to figure out what to create with this framework for my dissertation. What can you advise me? please

bozh
Автор

Recently I saw your video about flet and thought of you creating an android app using flet to build a custom chat gpt.

When I install the app on my phone, it throws error:-

File "C:\Users\User\AppData\Local\Temp\serious_python_temp292f7525\assistant.py", line 1, in <module>
ModuleNotFoundError: No module named 'openai'


How can I resolve this?
Please help me out

OTL
Автор

Hello! Your video is very good! I want to make you a query.
Context first: I have a list of rows that are the results of a search using a text field. In practice, I should be able to click on one of the results (1 row specifically) and it will give me all the information corresponding to that particular result. When there is only one result, everything is fine. The problem I have is when there is more than one result. The rows are generated inside a For loop, when I "export" the information for the row I clicked on, instead of giving me that information I clicked on, it gives me the last element of the For loop, which doesn't match the Row I clicked on.
Can you help me? I understand that it's a simple problem of not being able to identify an element within an iterator like For, but I haven't been able to fix it. I already tried using indexes inside the For iterator but it didn't work as expected.
I am looking forward to your response. Greetings from Argentina!

alejandropoos
Автор

Wow subbed thank you! How can we change the single line of Input to multiple line of text? So if I press shift+enter that I do not trigger the input, i want to go to next line. Also how to add a button to switch between dark mode?


Thank you !!! super().__init__(**prompt_style(), on_submit=self.run_prompt)
self.chat = chat

This gives me an error. Where to add those attributes for TextField bro?
Thank you'

gangs