LangFlow Tutorial #1: Build AI-Powered Apps without Coding!

  Рет қаралды 24,895

Leon van Zyl

Leon van Zyl

Күн бұрын

#langflow #langchain #openai
Langflow makes it easy to create AI applications without writing a single line of code.
In this video we go over the steps for installing Langflow locally and we then create our first chatbots.
☕ Buy me a coffee:
www.buymeacoffee.com/leonvanzyl
USEFUL LINKS:
Langflow Github: github.com/logspace-ai/langflow
Python Installer: www.python.org/downloads/rele...
LangChain Documentation: python.langchain.com
OpenAI API Key: platform.openai.com
Chat with Like Minded Individuals on Discord:
/ discord
TIMESTAMPS:
00:00 - Introduction to Langflow
00:57 - Flowise alternative
01:06 - Langflow Local Setup
01:52 - Creating a Python Virtual Environment
02:47 - Activate the virtual environment
03:17 - Starting Langflow from command line
03:36 - Closing and Upgrading Langflow
04:05 - OpenAI API Key
05:13 - UI Overview
06:47 - Creating a our first Langflow Chatbot
08:39 - Creating a conversational bot
11:54 - Creating a character chatbot
14:45 - In summary

Пікірлер: 112
@M-lime
@M-lime 10 ай бұрын
And ladies and gentlemen that’s how it should be done. No bs, straight to the point with all the info! Thank you very much!
@leonvanzyl
@leonvanzyl 10 ай бұрын
Awesome comment. Thank YOU!
@davidrose9577
@davidrose9577 Жыл бұрын
Thank you for the clear pace of the instruction and for enlarging your screen so we can see what you are doing.
@leonvanzyl
@leonvanzyl Жыл бұрын
You're welcome! Takes forever to edit all the zooms, but definitely worth it 😁
@innovatune_ai
@innovatune_ai Жыл бұрын
Thank you Leon. Once again very well explained. I really like your videos as it's very helpful. Looking forward to the next ones.
@leonvanzyl
@leonvanzyl Жыл бұрын
Thanks Danie 🙏
@rickylafleur4378
@rickylafleur4378 Жыл бұрын
can't wait for the next episodes!
@Nexar26
@Nexar26 10 ай бұрын
This video series is soooo helpful. Thank you so much for these videos.
@leonvanzyl
@leonvanzyl 10 ай бұрын
Thank you!
@mazdakhobbi
@mazdakhobbi Жыл бұрын
Thank you for this video. It’s very helpful to understand other options beyond Flowise and BotPress!
@leonvanzyl
@leonvanzyl Жыл бұрын
You're welcome 🤗
@alissonryan
@alissonryan Жыл бұрын
thanks for your videos, I marathoned the flowise videos and am going to the langchain one. You explain very well, it's easy to understand, keep it up. Greetings from Brazil 🇧🇷
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you! Glad you're enjoying these 🤗.
@lifestyleblink9184
@lifestyleblink9184 Жыл бұрын
Wow, Lion! Your video on Langflow was incredibly insightful and easy to understand. I appreciate how you broke down complex concepts into simple terms, making it accessible for viewers like me. The visuals and examples you used really helped me grasp the fundamental ideas behind Langflow. Keep up the fantastic work, and I can't wait to see more of your content.
@leonvanzyl
@leonvanzyl Жыл бұрын
Excellent comment! Thank you 🙏😊
@wrorl
@wrorl 7 ай бұрын
@@leonvanzyl I really love it! Thanks you, but I have this issue where my langflow UI is not at all like the UI showed in your video and a lot of less tools, can you help me?
@koen.mortier_fitchen
@koen.mortier_fitchen Жыл бұрын
Thanks Leon, you're one of the best
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you!
@RonAdames
@RonAdames Жыл бұрын
Thank you so much for this tutorial, well explained.
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you 🙏
@Gaferro
@Gaferro 4 ай бұрын
Amazing as always
@leonvanzyl
@leonvanzyl 4 ай бұрын
Thanks Andres
11 ай бұрын
Thanks! I didn´t know that there is a flow in Python. Great tutorial.
@leonvanzyl
@leonvanzyl 11 ай бұрын
You're welcome 😁
@antoniostsaousis198
@antoniostsaousis198 9 ай бұрын
Thanks for sharing!
@leonvanzyl
@leonvanzyl 9 ай бұрын
You're welcome 🤗
@roamingh
@roamingh Жыл бұрын
Thanks!
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you for the support 🙏
@AssassinUK
@AssassinUK Жыл бұрын
I need help installing this on RENDER so I can access this in the cloud! Great Video! Subscribed!
@leonvanzyl
@leonvanzyl Жыл бұрын
Deployment video coming soon 👍
@Augmented_AI
@Augmented_AI 10 ай бұрын
Greetings from south africa. How would one deploy these chatbots on a site like wix, kajabi or Wordpress. Would we need to host the chatbot somewhere?
@leonvanzyl
@leonvanzyl 10 ай бұрын
Howzit! Langflow is not quite ready for production in my opinion, due to the fact that there is no way to protect access to the tool using credentials. The API endpoint solution is not ready either. I will cover deployment and website embedding as soon as it's ready. Rather check out the Flowise series for a similar tool that is production ready.
@TheGeneticHouse
@TheGeneticHouse Жыл бұрын
Thank you for doing this for langflow I've been falling along all of your flow-wise tutorials hoping you would do lang flow excited to learn how to use this one for my AI app I like the fact we can use Python and get the code. Will you touch on adding memory to a Python script?😊😊😊😊😊
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you! Glad you're enjoying these videos. Will definitely look into memory in this series 👍.
@itsdavidalonso
@itsdavidalonso 11 ай бұрын
Hey Leon! Since you've tried both Langflow and Flowise, what are the biggest user facing differences you've found? I know that under the hood they use a different Langchain library but I don't see that manifesting on the UX...
@leonvanzyl
@leonvanzyl 11 ай бұрын
I've received better responses from Langchain, especially when it comes to the agents. Not sure if it's because of how they are primed.
@viktorhugoheckenschutze4481
@viktorhugoheckenschutze4481 2 ай бұрын
It was asking for a LangFlow API Key but to generate one I should Sign up and then sign in I've tried but there's a wait list ¿does anyone know how long does it take?
@VanCliefMedia
@VanCliefMedia Жыл бұрын
Thankyou so much for your videos, its allowing me to learn and practice so much quciker. I do have a question if you have the time to help. When applying the PromptTemplate to the work space and ediiting , I noticed I do not have the same message for prompt variables in the bottom left of the edit box as you, I belvie this is connected to the reason why when creating the bracketed question it doesn't actually generate a variable {question} for the prompt template. The prompt reads and the chat bot certainly follows the basics of my prompt but I am seeing no indication I have any variables other than that. Looking at the /model_io/prompts/prompt_templates/ page it looks like they may have consolidated code but I am unsure. Do you know where I should start looking to see how I may have made a mistake or what I would need to change to add promptvariabless to the PromptTemplate ? Iapologizee if that's notspecificc enough. I have been teaching my sefl python over the last few weeks and still havea lott to learn.
@VanCliefMedia
@VanCliefMedia Жыл бұрын
I may have answered that myself partially, When deleting the variables it gave me an error message, so it seems the variables are being compiled however I am just not seeing the indication on the frontend UI.
@leonvanzyl
@leonvanzyl Жыл бұрын
Did you click on the "compile" / ⚡ button before clicking on chat? Also try to save after making changes.
@serdalaslantas
@serdalaslantas 2 ай бұрын
Installation of LangFlow keeps throwing error in python3.12 on mac as the following: ERROR: Failed building wheel for tokenizers Failed to build pyarrow tiktoken tokenizers ERROR: Could not build wheels for pyarrow, tiktoken, tokenizers, which is required to install pyproject.toml-based projects. Do you have any suggestion?
@alessiogesuelli5267
@alessiogesuelli5267 3 ай бұрын
there is no ConversationChain anymore, what can I use?
@palidad1
@palidad1 Ай бұрын
different command on MAC you run "source env/bin/activate"
@MatheusTassoo
@MatheusTassoo 3 ай бұрын
This video is so helpful. Which one do you think can build more complex stuff?
@leonvanzyl
@leonvanzyl 3 ай бұрын
Flowise, without a doubt.
@thedazzlingsound488
@thedazzlingsound488 3 ай бұрын
@@leonvanzyl Thanks Leon, I was wondering which tool, LangFlow or Flowise, would be more useful and easier to implement complex functionality.
@Martytw1
@Martytw1 Жыл бұрын
Thank you for a great video as always. I want to create an app / LangFlow using ChatGPT that can interact & update a customer database such as customer projects, inquiries, orders, shipping & so forth ... Like for example what is the status of customer "X" inquiry he send to us last week (Assuming the database is up to data) I guess this is possible with LangFlow ? 🤔🤔🤔
@leonvanzyl
@leonvanzyl Жыл бұрын
There are a few ways to solve this, and integration with Zapier or OpenAI Functions come to mind. We will be looking at complex topics in this series though.
@Faaaay1
@Faaaay1 10 ай бұрын
👏🏼👏🏼👏🏼👏🏼👏🏼
@leonvanzyl
@leonvanzyl 10 ай бұрын
🙏
@user-sz7mz6uz1i
@user-sz7mz6uz1i Жыл бұрын
Thanks! Do you have any opinion on what do you prefer in regards to Langflow or Flowise? Ignoring JS vs Python do you see any having an advantage, support, likely future upgrades, etc?
@leonvanzyl
@leonvanzyl Жыл бұрын
That is a brilliant question. It's also a loaded question 😊. Might have to create a video comparing the two. In short, I don't have a preference. The Python library of Langchain offers more features and is slightly ahead of the JS library, but the Langchain team is doing incredible work adding these features to JS as well. There are a few aspects on hosting that you need to consider. You can't go wrong either way. Learn both and see which one works for your use-case.
@user-sz7mz6uz1i
@user-sz7mz6uz1i Жыл бұрын
@@leonvanzyl Thanks very much for your reply. Yes, makes sense. I want to remain flexible with all of these amazing tools and not end up building something that is superseded by another tool in 3 weeks time. I'm starting with Flowise, thanks to your videos and will no doubt try Langflow. 👍
@SimonStJohn
@SimonStJohn Жыл бұрын
Brilliant question I was just going to ask myself! And it would be amazing if Leon would make a video comparing the two! It's like so much in this very fast moving time you just don't quite know which one to learn, not that they are hard....but it's all time.
@Chasingaxl
@Chasingaxl Жыл бұрын
I would like to make a chatbot with long term memory using pine cone. What is the best practice for storing the conversations and retrieving?
@leonvanzyl
@leonvanzyl Жыл бұрын
Hey Brian, this really depends on the type of application that you are building and the tech stack. Very hard to answer in a comment. You could store the conversation in pretty much any database - Pinecone might be an expensive solution if you simply want to store a conversation that doesn't need vector similarly search.
@roamingh
@roamingh Жыл бұрын
How would you do prompt chaining / sequential chain with langflow?
@leonvanzyl
@leonvanzyl Жыл бұрын
Will definitely cover prompt chaining in this series.
@kimathinewton855
@kimathinewton855 8 ай бұрын
Very insightful. Is it possible to create a custom tool using langchain and then load it into langflow?
@leonvanzyl
@leonvanzyl 8 ай бұрын
Thanks! Will look into this and create a tutorial if possible
@bambanx
@bambanx 4 ай бұрын
what do you prefer my friend flowise or langflow? thanks
@leonvanzyl
@leonvanzyl 4 ай бұрын
I'll be creating a full series on Langflow soon. Flowise has been production ready for a while now, and Langflow was lagging behind. However, they've improved a lot lately.
@JanghyunBaek
@JanghyunBaek 5 ай бұрын
Anyone try to use AzureChatOpenAI in Langflow? How to use AzureOpenAI in Langflow? I try to use this one. But it doesn't work. Please share your experience. Thanks
@dramahurkar
@dramahurkar 8 ай бұрын
Hey Leon, why am I getting a "no module named langflow" message every time at the end? Tried multiple times, but no luck. How to go ahead, please guide.
@leonvanzyl
@leonvanzyl 8 ай бұрын
Did you activate the virtual environment before starting Langflow?
@dramahurkar
@dramahurkar 8 ай бұрын
@@leonvanzyl yes leon, every time it's the same message. I tried multiple times and went ahead as you described in the video but result is the same.
@isthatxavier92
@isthatxavier92 Жыл бұрын
Does it allow you to create chatbots with speech recognition and tts?
@leonvanzyl
@leonvanzyl Жыл бұрын
Not that I'm aware of. Would be cool if they could add it at some point 😀. The point of these tools is to create the flow logic for the app, and then integrate the logic in your web / mobile App - which could have TTS and Speach to Text.
@tas5247
@tas5247 Жыл бұрын
Is there any particular reason why you have switched the tutorials to LangFlow? Does it offer things that flowise hasn’t got or anything like that?
@leonvanzyl
@leonvanzyl Жыл бұрын
I'll be continuing with Flowise. Langflow is simply a Python alternative to Flowise.
@tas5247
@tas5247 Жыл бұрын
​@@leonvanzyl ok, understood! Thanks again for the in-depth tutorials. Please could you create a tutorial where we can ask users questions > be able to store those answers as variables > send those stored variables to an email > and also how to store sessions for users to return to the conversation at a later date. Would be awesome if you could, sorry for the constant requests. Im planning to reach out to you in the near future, what would be the best way to contact, I couldn't find your twitter account.
@koen.mortier_fitchen
@koen.mortier_fitchen Жыл бұрын
5:10 For Mac: python3 -m langflow
@teodorchaly184
@teodorchaly184 11 ай бұрын
Hi! Very interesting videos on your s channel, but honestly I still don t understand the differences between LangFlow and Flowise. I mean, you said that it is a minor difference, but as i understand it uses the same GUI.
@leonvanzyl
@leonvanzyl 11 ай бұрын
These two tools really are similar. The difference is the Langchain library that they're built on. My suggestion is that if you want to learn only one, then go for Flowise. It's ahead of Langflow in terms if being production ready.
@SowrenSen
@SowrenSen 11 ай бұрын
You explain things so effortlessly. Your channel is a hidden treasure. Thank you for these quality contents. 🤌🏼
@leonvanzyl
@leonvanzyl 11 ай бұрын
Thank you very much 😊
@zihadedu6328
@zihadedu6328 11 күн бұрын
exactly
@daryladhityahenry
@daryladhityahenry 5 ай бұрын
Weird... my langflow doesn't look like that. I didn't have collection, no search bar at the left. Just new flow & component in the left. no search bar at all..
@leonvanzyl
@leonvanzyl 5 ай бұрын
It's very possible that Langflow updated their UI since this video was recorded many months ago 🤔. Perhaps it's time to refresh this series as well.
@daryladhityahenry
@daryladhityahenry 5 ай бұрын
​@@leonvanzyl Hmmm I found out if we follow the installation instruction ( right now ), it will using lower version than your video. I must put the github link to get dev branch installed so it got the latest version. But after that, I get another problem, ask to discord and no answer at all....
@leonvanzyl
@leonvanzyl 5 ай бұрын
@@daryladhityahenry sorry to hear. Things move fast in the AI space and I am trying my best to refresh these videos 😂. What's the error?
@daryladhityahenry
@daryladhityahenry 5 ай бұрын
@@leonvanzyl hahaha.. about something like frontend static not found ( seems like the ui folder ). Anyway, I decided to just use langchain since I use it quite differently than other people usage.. I just hope to be able to prototype and develope faster using langflow, and fail 🤣
@hhhh-wl5fj
@hhhh-wl5fj Жыл бұрын
Kannst du bitte den Link zu der Seite schicken im Internet findet man leider nicht DANKE IM VORRAUS
@leonvanzyl
@leonvanzyl Жыл бұрын
Auf welche Seite verweisen Sie ebenfalls? Ich habe in der Videobeschreibung viele Ressourcen verlinkt. Ich bin kein Deutscher, also entschuldigen Sie bitte, wenn dieser Kommentar keinen Sinn ergibt. 😬
@hhhh-wl5fj
@hhhh-wl5fj 11 ай бұрын
@@leonvanzyl sorry that was Very good German Maybe a AI Made it 😂 THANK YOU
@leonvanzyl
@leonvanzyl 11 ай бұрын
@@hhhh-wl5fj 😁
@nishantkumar-lw6ce
@nishantkumar-lw6ce Жыл бұрын
How to run this on render?
@leonvanzyl
@leonvanzyl Жыл бұрын
We will have a look at deployment in this series 👍
@AssassinUK
@AssassinUK Жыл бұрын
Yes, I have tried and failed to install this on Render. I have Flowise installed easy, but not Langflow. Help is needed!!
@nishantkumar-lw6ce
@nishantkumar-lw6ce Жыл бұрын
@@leonvanzyl An important question. If one wants to point to input SQLite database from local system such as C:/Folder name/file name. How do we point that in flowise as it’s deployed in render and doesn’t know how to access local computer.
@kunalr_ai
@kunalr_ai 11 ай бұрын
This is for enjoying purpose or it has real use so i can earn money
@leonvanzyl
@leonvanzyl 11 ай бұрын
Both 😉.
@LordPBA
@LordPBA 15 күн бұрын
3:26 python -m langflow run
@bambanx
@bambanx 4 ай бұрын
it ask fort api key of langflow
@leonvanzyl
@leonvanzyl 4 ай бұрын
Provide the API key then 😉
@bambanx
@bambanx 4 ай бұрын
@@leonvanzyl true, now works, langflow have something like cache to save money on request? Do you have a video using cache? Thanks you so mucj
@Chasingaxl
@Chasingaxl Жыл бұрын
Langflow or Flowise?
@leonvanzyl
@leonvanzyl Жыл бұрын
Both 😊
@MadHEX369
@MadHEX369 Жыл бұрын
When should one choose langflow or flowise??
@leonvanzyl
@leonvanzyl Жыл бұрын
The two are very similar. Langflow uses the Python version on Langchain, and Flowise uses the JS version of Langchain. The differences are minor. It really comes down to your personal preference.
@rhythmgaidhani2149
@rhythmgaidhani2149 Жыл бұрын
i felt langflow is more advanced version of flowise , as it has much more capabilites like the main one documentation of any component if we want to know how to use it and it also has many community examples . Also the number of components in langflow are greater than flowise. I THINK For beginers flowise is great to start when you want to go advanced langflow would be great
@leonvanzyl
@leonvanzyl Жыл бұрын
I agree with this comment to a certain extent, but it is also worth noting that additional features are constantly added to the JS LangChain library as well. The Python documentation might be way more up to date for now, but the gap between the two versions of LangChain seem to be closing over time. This could be a topic for debate, but I don't consider Langflow to be more "advanced" than Flowise. I've been able to achieve similar results for the majority of real-world use cases using both tools.
@rhythmgaidhani2149
@rhythmgaidhani2149 Жыл бұрын
@@leonvanzyl agreed with you I was just making a prediction as I saw soo many components there . Now I got my answer, thanks for insighting
@maximt1401
@maximt1401 Жыл бұрын
Would you mind setting up a discord for the community please. It would be nice to talk to one another and exchange ideas & tips
@leonvanzyl
@leonvanzyl Жыл бұрын
I've received a few requests for a Discord channel by now.. thinks it's time 😁
@maximt1401
@maximt1401 Жыл бұрын
@@leonvanzyl ❤
@SimonStJohn
@SimonStJohn Жыл бұрын
Yes pls!
LangFlow Tutorial #2: Agents and Tools
10:12
Leon van Zyl
Рет қаралды 9 М.
How to Build AI Apps for FREE (No-Code) - Langflow Tutorial #1
10:30
Самый Молодой Актёр Без Оскара 😂
00:13
Глеб Рандалайнен
Рет қаралды 7 МЛН
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 77 МЛН
ТАМАЕВ УНИЧТОЖИЛ CLS ВЕНГАЛБИ! Конфликт с Ахмедом?!
25:37
VAPI vs Bland AI: Which AI Calling Platform Should YOU Choose?
18:02
Build Blazing-Fast LLM Apps with Groq, Langflow, & Langchain
1:01:18
How to LangChain: LangFlow VS Flowise!! WHICH IS BEST?!
30:10
Test Savant
Рет қаралды 18 М.
Why Agent Frameworks Will Fail (and what to use instead)
19:21
Dave Ebbelaar
Рет қаралды 25 М.
Crowdstruck (Windows Outage) - Computerphile
14:42
Computerphile
Рет қаралды 92 М.