Output Parsers & IfElse Function - FlowiseAI Tutorial #4

  Рет қаралды 14,036

Leon van Zyl

Leon van Zyl

Күн бұрын

#flowiseai #flowise #openai #langchain
Output Parsers provide many powerful options for controlling the type of outputs produced by the models, and when we combine the IfElse node, we can conditionally call chains as well.
☕ Buy me a coffee:
www.buymeacoffee.com/leonvanzyl
💬 Chat with Like-Minded Individuals on Discord:
/ discord
🧠 I can build your chatbots for you!
www.cognaitiv.ai
🕒 TIMESTAMPS:
00:00 - Introduction to Output Parsers
01:30 - Structured Output Parser
03:30 - Extracting information
05:39 - List Parser
07:20 - IfElse Node Conditionally call chains
10:52 - IfElse Node Function Logic

Пікірлер: 169
@jamesyoungerdds7901
@jamesyoungerdds7901 Ай бұрын
I am loving this entire playlist, thank you! Just wow - and again, loving how you don't make any assumptions into the viewers expertise, every little step. Masterclass in Flowise, but a masterclass in how to put together a software tutorial. Amazing 😍
@leonvanzyl
@leonvanzyl Ай бұрын
Amazing comment. Thank you 🙏
@DamianGarciaARG
@DamianGarciaARG 19 күн бұрын
For everyone who is getting the error: "Error: Invalid JSON in the IfElse's Input Variables: SyntaxError: Expected ',' or '}' after property value in JSON at position" it's supposed to being fixed in the next releases. Meanwhile you can change a couple of things in order to make it work. Remove the Output Parser in the first LLM Chain (sentiment) and change the Prompt as follows: Determine if the following review is positive. Return "positive" or "negative" only options: {review} Then in the IfElse function, change the if logic to: if ($sentiment == "positive") { return true; } It should work. Good luck! BTW, great playlist, I really enjoy how Leon incorporates concepts step by step. Great work!!
@leonvanzyl
@leonvanzyl 19 күн бұрын
Thank you for this!
@dispatch-z9614
@dispatch-z9614 16 күн бұрын
@@leonvanzyl I'm getting the follwing error when I try to run the ifElse function: nodeInstance.run is not a function I have tried the suggestion from @DamianGarciaARG but I still have the same error. Please help!!! CC: @DamianCarciaARG
@lucioussmoothy
@lucioussmoothy 4 ай бұрын
Outstanding video series!! Very well done. Great tonality and depth of instruction. I'd love to see future series discuss how results from intermittent steps can be saved to a document database or something similar.
@leonvanzyl
@leonvanzyl 4 ай бұрын
Thank you for the feedback and suggestion 🙏
@leongodwin69
@leongodwin69 4 ай бұрын
I am loving this!! Really enjoy that you are making it more relevant to a business context, not just nonsensee AI hype. Thank you
@leonvanzyl
@leonvanzyl 4 ай бұрын
Thank you!
@wgaitanartunduaga
@wgaitanartunduaga 4 ай бұрын
Thank you! Great tutorial! Output parsers indeed play a crucial role in ensuring data consistency. Your clear explanations make it easy to grasp the fundamentals. Looking forward to more advanced scenarios in the series!
@leonvanzyl
@leonvanzyl 4 ай бұрын
So glad you agree 👍. No idea why they get overlooked in tutorials.
@user-iz7er7ks4x
@user-iz7er7ks4x 3 ай бұрын
What a fantastic Leon!!! Amazing talk, amazing information, amazing tool
@leonvanzyl
@leonvanzyl 3 ай бұрын
Thank you 🙏
@youri655
@youri655 4 ай бұрын
This is exactly what i was looking for! Very exciting
@leonvanzyl
@leonvanzyl 4 ай бұрын
You're welcome 🤗
@estevegraells
@estevegraells 3 ай бұрын
Thanks for this series Leon, very useful!!
@leonvanzyl
@leonvanzyl 3 ай бұрын
Hi Esteve, thank you for the support ❤️.
@estevegraells
@estevegraells 3 ай бұрын
@@leonvanzyl I think your videos are awesome, you are helping many people like me.
@Machiuka
@Machiuka 4 ай бұрын
Very informative. I've learned a lot from it. Congratulations Leon!
@leonvanzyl
@leonvanzyl 4 ай бұрын
Glad you enjoy the series. New videos launching SOON!
@TheBestgoku
@TheBestgoku 4 ай бұрын
this is the most usefull feature of LLM's in general. This needs to be explored more and in detail with unique usecases.
@leonvanzyl
@leonvanzyl 4 ай бұрын
Agreed!
@jahn_star
@jahn_star 4 ай бұрын
Thank you, sir. That is exactly what I am looking for.
@leonvanzyl
@leonvanzyl 4 ай бұрын
You're welcome 🤗
@altonjones5271
@altonjones5271 4 ай бұрын
Oh wow , just when I thought the content couldn't get any better - you did it again !!! anyway , now to go and practice the new skills 😃
@leonvanzyl
@leonvanzyl 4 ай бұрын
Thank you!
@HistoiresetConfessions-cc4le
@HistoiresetConfessions-cc4le 4 ай бұрын
Thank you, I was expecting for it :) thanks for your work
@leonvanzyl
@leonvanzyl 4 ай бұрын
Perfect timing then 😁.
@LEXI_Experts_Intelligence
@LEXI_Experts_Intelligence 4 ай бұрын
great tutorial, nevertheless will look 2 times to get it all. and yes, absolut powerful: parser and condition elements, thats what we are looking for !!!
@leonvanzyl
@leonvanzyl 4 ай бұрын
Thank you!
@MaliRasko
@MaliRasko 4 ай бұрын
Another great video. Super informative.. thank you
@leonvanzyl
@leonvanzyl 4 ай бұрын
You're welcome 😁
@andreaskaranas8432
@andreaskaranas8432 2 ай бұрын
Great tutorial series, many thanks!! Following your instructions for the output parser, I was wondering whether it's possible to chain chat prompt templates. The idea is that the first prompt template would start a conversation by asking the user several questions and then pass the responses in a predefined format to another prompt template. This second template would then continue the conversation, using the input from the first prompt template as context.
@JoaquinTorroba
@JoaquinTorroba 4 ай бұрын
This is excellent, thanks!
@leonvanzyl
@leonvanzyl 4 ай бұрын
You're welcome 🤗
@claudi7009
@claudi7009 4 ай бұрын
Very useful video. One question how can u connect the output for example of the multiple chains (Tutorial 3) to the input of this, for creating for example a survey depending of the result?
@BadrLaajali
@BadrLaajali 4 ай бұрын
Thanks for your video, it gives more ideas and opens up new perspectives :) I'm struggling with one thing, and maybe you can create a video about it: Is there any node that can take the Agent's output as an input to continue the treatment?
@leonvanzyl
@leonvanzyl 4 ай бұрын
Thank you for the comment! The previous video was about prompt chaining. Wouldn't that work for you?
@rahulkaid
@rahulkaid 4 ай бұрын
Love it!!
@leonvanzyl
@leonvanzyl 4 ай бұрын
Thank you
@fleuriadon2564
@fleuriadon2564 2 ай бұрын
Great video thx! a little question for you, how can I use my own pdf files from the beginning and getting a JSON as on output ? Thanks
@DavidFeher-sd5pz
@DavidFeher-sd5pz 3 ай бұрын
Brilliant series. One question can I pass on the original message as well? My use case would be a support bot what is either have to fetch solutions from a db or documents but there are certain situations where I don't want the bot to try to solve the issue. In certain urgent cases. So I would have to differentiate but also pass on the original user message to the right bot.
@Adnan-gv9wu
@Adnan-gv9wu 25 күн бұрын
I get this error Error: Invalid JSON in the IfElse's Input Variables: SyntaxError: Expected ',' or '}' after property value in JSON at position 11
@corleone2009
@corleone2009 23 күн бұрын
Error: Invalid JSON in the IfElse's Input Variables: SyntaxError: Expected ',' or '}' after property value in JSON at position 17
@userbaed
@userbaed Ай бұрын
I am so grateful for having this playlist. That's so awesome. Unfortunately, I ran into a problem while watching your 2023 tutorial. I can't make the bot upload my files. It says "I am not sure" all the time. I would be extremely thankful if you could help me.
@leonvanzyl
@leonvanzyl Ай бұрын
Check out the RAG video in the 2024 series. Flowise changed the way you upsert data to the vector store.
@nitzantal5365
@nitzantal5365 4 ай бұрын
Amazing talk as usual Leon. I wonder if you can have a tutorial about multi tenancy in flowise, meaning that a single flow can serve multiple customers, but just control the customer id providing override config vars. Thanks and again really love your sessions, can't wait to see what's next ❤
@leonvanzyl
@leonvanzyl 4 ай бұрын
Excellent idea for a tutorial, thank you 🙏
@krisograbek
@krisograbek 4 ай бұрын
I only discovered how powerful Flowise is! And you are my go-to resource, Leon! Looking forward to the next videos! Meanwhile I have a question: Is it possible to use Flowise in a similar way to AutoGen? I mean that you give a feedback to the partial results of an AI Assistant, then improve the output, and only then move to the next assistant (with a different role). Do you know what I mean? An equivalent to AutoGen's terminate=ALWAYS
@leonvanzyl
@leonvanzyl 4 ай бұрын
Thank you for the feedback! AutoGen is intended to build collaborative agent solutions, which Flowise is not. I might be mistaken on this and will definitely look into it.
@krisograbek
@krisograbek 4 ай бұрын
@@leonvanzyl Thanks for the quick answer. I'll have a look as well :) Now waiting for the next videos in your series about Flowise!
@cyborgmetropolis7652
@cyborgmetropolis7652 29 күн бұрын
I'm going through this exercise with Llama3 and I find it useful to be specific about the output to avoid bad data. For example: "Provide a comma separated list of synonyms for the word: {word}. Do not add any other text or explanations or descriptions or interactions of any type. Do not describe the list or tell the user what the list is. Simply provide the synonyms and nothing else." Otherwise I would get a list like this: ["here is a list of synonyms for the word 'dog'," "canine", "pooch", .... "anything else I can help you with?"]
@jwhitehv
@jwhitehv 24 күн бұрын
That's what the output Parser is supposed to add to the prompt.
@ThePandaGuitar
@ThePandaGuitar 3 ай бұрын
Thank you soooooo much for doing this series
@leonvanzyl
@leonvanzyl 3 ай бұрын
You're welcome 🤗
@dniliveact
@dniliveact 4 ай бұрын
Amazing videos, you're helping a lot of people like me to get into the rabbit hole. Loving it, thank you! Let's say I want to integrate a feedback mechanism at the end of the conversation? How could we integrate this into the end of a conversation? I guess I can use the IfElse like if they want to give feedback it goes to the next chain which could be a positive negative chain. Thanks again, keep rocking!
@leonvanzyl
@leonvanzyl 4 ай бұрын
Thank you for the feedback! Glad you're enjoying this 😁. For feedback, I assume you are referring to something that we saw in traditional chatbots / customer support where you rate the conversation at the end? You don't really have something similar in the AI world. There are a few ways that you could do this, but it mostly involves Dev outside of Flowise. OR we could implement a custom tool. When the user says something like "I would like to leave feedback" or "let's end the conversation" then the agent could go into a special process to collect this information and then store the results in a database. We will cover custom tools in this series. Reach out to my agency and we could assist you as well.
@dniliveact
@dniliveact 4 ай бұрын
@@leonvanzyl Great stuff! Thank you!
@WayneBruton
@WayneBruton 4 ай бұрын
Hi Leon, great video. Quick question, can you chain several ifElse nodes to each other, lets say if there are more options than just true or false?
@leonvanzyl
@leonvanzyl 4 ай бұрын
You can make it as nested and complicated as you want 🤗
@kingpinoftherails926
@kingpinoftherails926 4 ай бұрын
Great video, thx. Can you give me your opinion on why you are working with flowise and not with langflow? Are there big differences?
@leonvanzyl
@leonvanzyl 4 ай бұрын
Dude, Langflow is great as well. Planning a Langflow series as well. There was a time when Flowise was far ahead in terms of production-readiness, but apparently the gap is closing.
@GilbertMizrahi
@GilbertMizrahi 4 ай бұрын
Excellent.
@leonvanzyl
@leonvanzyl 4 ай бұрын
Thank you 👍
@davidlapsanschi
@davidlapsanschi 4 ай бұрын
Stellar tutorials so far! Could you clarify a small thing please? In the 2 positive/negative Prompt Templates we set a placeholder {review}, however this parameter is not filled in by anything since by default they're mapped to empty string and we dont map them to an input variable like we did in other cases. I assume it works because it remembers the review from context, but how would you pass the review to the Prompt Templates after the if/else node?
@leonvanzyl
@leonvanzyl 4 ай бұрын
This might have been missed in the editing, sorry about that. I recommend mapping the prompt values instead of having them passed in by happen chance.
@sitedev
@sitedev 4 ай бұрын
Thanks Leon, this is great. Now that LlamaIndex has been integrated with Flowise I can imagine you have a whole new list of video ideas?
@leonvanzyl
@leonvanzyl 4 ай бұрын
My head is spinning! Anything you would like to see me cover?
@sitedev
@sitedev 4 ай бұрын
@@leonvanzyl There aren't enough hours in a day. I've been aware of LlamaIndex for quite a while and wanted to test it out in a RAG system but never have the time to devote to it. I'm particularly interested in LlamaIndex's document processing (upsert / process multiple doc types) within RAG when compared to LangChain. Thanks for this excellent video on Output Parsers and IfElse function ... this is awesome. I can thinking of a million uses for this.
@PulkitPrakash
@PulkitPrakash 4 ай бұрын
Amazing video, Thanks for making this video Leon. I was wondering if you could help answer a question I had - The IfElse works well for 2 scenarios, but what about when I have more than 2 scenarios. Think of a list of like 5 options that a variable can take, and then there are 5 different prompts that get acted upon based on the variable's value. Is that something that the IfElse Function can do, or if there's some other way to go around it.
@leonvanzyl
@leonvanzyl 4 ай бұрын
Hey there. You can add as many ifthen nodes as you want to the flow. Since we're passing a JSON object into the node (as in this video) you could pass in multiple properties. You can then check those values and call the next ifthen in the chain. I'm not a 100% sure what your scenario is, but there is probably an optimal way to solve it. Unless if you're trying to build an old school chatbot that drives the conversation down different paths. In that instance you should or use Botpress or Voiceflow.
@PulkitPrakash
@PulkitPrakash 4 ай бұрын
@@leonvanzyl Thanks for the reply. I am trying to build a bot that has these 2 steps 1. Understand what the user wants to do 2. Route to an appropriate Chain/Agent that takes it forward I was thinking of using the IfElse node for the first part & then routing to an appropriate chain. However it seems that one IfElse node can only have 2 outputs. If I want to add more, I'll have to add multiple IfElse nodes. Is there a better way to be doing this?
@Francotujk
@Francotujk 4 ай бұрын
Your videos are the best ones! Flowise should reward you haha! This topic is probably one of the most important and it has been explained perfectly. I see that the "output parser" node works only with the LLM Chain node. However the LLM Chain doesn't allow the "document" Node. The Chains that allow documents (i.e pdf are the Conversational). But conversational chain doesn't have the "output parser" option. Do you know how to combine both? In order to combine output parsers, but also Documents uploads?
@leonvanzyl
@leonvanzyl 4 ай бұрын
You could use prompt chaining (previously video). The first chain could be your conversation chain. Second chain is an LLM chain with parser 👍
@Francotujk
@Francotujk 4 ай бұрын
@@leonvanzyl first, thanks for your answer! But I cannot do that (or I think that). The output generated by these chains is not like the output from the LLM Chain (that can be an 'output prediction'). For Conversation Chains the output is "chain". Do I need to transform that?
@cyberstudy7189
@cyberstudy7189 4 ай бұрын
Hi Leon, thank you to share your knowledge with us. Is it possible to include my survey with pre-defined questions , and then get the sentiment and customer answer using parsers ?
@leonvanzyl
@leonvanzyl 4 ай бұрын
Absolutely. That's actually an easy implementation using a conversation chain. Provide the list of questions in the prompt and tell the model to ask the user each of these questions and once all answers are collected, provide a sentiment.
@cyberstudy7189
@cyberstudy7189 4 ай бұрын
@@leonvanzyl thank you so much
@leechoonhwee
@leechoonhwee 2 ай бұрын
Hi Leon, is there a select case utilities instead of true or false? My use case is getting openai to determine what area of question eg Complaints, Products info, Sales enquiry, etc and then redirect to different chain based on the question.
@leonvanzyl
@leonvanzyl 2 ай бұрын
There isn't, but that would be awesome! All these ifelse nodes can get chaotic 😁
@nitzantal5365
@nitzantal5365 4 ай бұрын
Hi Leon, I wonder if flowise may parse a response to an image/video same as you did for JSON snippet. Assuming the response coming from the LLM contains img/video src is there a way to show ? Thanks
@leonvanzyl
@leonvanzyl 4 ай бұрын
Hey there. At the moment there are only 3 parsers available and you're not able to define your own (as you can with Langchain itself).
@zidviziouz
@zidviziouz 4 ай бұрын
How would you compare Flowise to something like Autogen 2.0. In my mind they are alternatives, different roads to get to the same place, but am I missing something?
@ia_para_Negocios
@ia_para_Negocios 3 ай бұрын
hey friend is it possible use this structure together with the Conversational retriever tool? wheres the agent only requesting this structure when need some validation? very good idea if possible could you create a video about it please?
@aimagicx
@aimagicx 4 ай бұрын
Hi Leon! really Thank you for your Helpful videos, I have a question on Flowise AutoGPT. How we can connect Multi AutoGPT Agents together! Assuming we have 3 or more Agents and each has different responsibilities.
@leonvanzyl
@leonvanzyl 4 ай бұрын
You're welcome 🤗. I'll actually look into this and will create a video if / once possible.
@videos6505
@videos6505 4 ай бұрын
Leon you are a great teacher. I am interested in how to get this thing working an implemented on a website. As chat or as fullwidth html.
@leonvanzyl
@leonvanzyl 4 ай бұрын
We'll have a look at website embedding in this series. I do have an older video on that topic on my channel, but in the new video I'll include a bit more information about customizing the chat window.
@sadyaz64
@sadyaz64 4 ай бұрын
awesome
@leonvanzyl
@leonvanzyl 4 ай бұрын
Thanks
@bassamel-ashkar4005
@bassamel-ashkar4005 4 ай бұрын
I love it. Do you know how can I disable telemetry? I couldn't find the env file. Where's the location? Or so I have to create one?
@leonvanzyl
@leonvanzyl 4 ай бұрын
Lol, not sure how its output parsers related 😁. If you used option 2 or 3 to set up Flowise, you access the .env file in the Flowise folder under components/server.
@bassamel-ashkar4005
@bassamel-ashkar4005 4 ай бұрын
@@leonvanzyl It's not. But I appreciate you and your content very much ❤️ so I thought to seek help from you 😊
@user-ku3md9xt2j
@user-ku3md9xt2j 4 ай бұрын
Great video series, but I wonder if another LLM than ChatGPT could be used. Like HuggingFace/Chat the LLama or Mixtral model. How can one create such a chat?
@leonvanzyl
@leonvanzyl 4 ай бұрын
Of course you can. Flowise includes integration with my different models and providers. OpenAI offers some advance features that we'll look at soon (and is by far the most Common models used in industry). We'll have a look at using Open source models in this series for completeness sake 👍
@bambanx
@bambanx 3 ай бұрын
Hello León first thanks for your efffort on this amazing videos. I have two questions 1- there is way to chat with local files like a code project if yes it can write in local files ? 2- there is a way to chat with a documentation of a website? Thanks you much
@leonvanzyl
@leonvanzyl 3 ай бұрын
You're welcome 🤗. For points 1 and 2, you can chat with local files and web pages using RAG. Check out my video on RAG chstbots. As for writing files, you can use an agent with tools.
@bambanx
@bambanx 3 ай бұрын
@@leonvanzyl thanks so much
@waltgrace-mm1od
@waltgrace-mm1od 4 ай бұрын
could you do a video on how to receive from a FTP or Get request? love these tutorials
@leonvanzyl
@leonvanzyl 4 ай бұрын
Will definitely create a video on API tools soon
@waltgrace-mm1od
@waltgrace-mm1od 4 ай бұрын
cant wait!! i love vercel for hosting and using s3 buckets@@leonvanzyl
@attilavegh6731
@attilavegh6731 4 ай бұрын
Hey Leon, any chance you could do a segment on how to use API loader on live feeds(like Yahoo Finance)? I just can't figure it out :)
@leonvanzyl
@leonvanzyl 4 ай бұрын
Will see what I can do. So many cool tools to go over 😁
@itayba76
@itayba76 4 ай бұрын
🤔Is there a reason you're using separate LLM model nodes for the 2 chains, even though they use the same model with the same settings? I wonder about it also when I use Pinecone or the OpenAI Embeddings nodes in multiple places in the flow.
@leonvanzyl
@leonvanzyl 4 ай бұрын
Using different models for different purposes is what Langchain and Flowise is all about. There's really no science behind it, but my advice to you is to use the cheapest model for each step in the process.
@cyberstudy7189
@cyberstudy7189 4 ай бұрын
Hi @Leon , thank you for another great Tutorial. When i try to fetch the data from pinecone and the error appears that the apikey is wrong? I've already changed it several times. Any solution?
@leonvanzyl
@leonvanzyl 4 ай бұрын
Hey there! Are you in the latest version of Flowise? I know they changed that node and credentials recently to accommodate for Pinecone Serverless. Other than that, no idea.
@metamike23
@metamike23 3 ай бұрын
How can I use output parsers with a Conversation Chain ? I want to determine if a user wants to quit the conversation and redirect to another chain.
@cesar333
@cesar333 4 ай бұрын
how do i integrate this flow along with my pinecone database so that when the parser goes through the logic it will only out very specific texts i ask it to output?
@leonvanzyl
@leonvanzyl 4 ай бұрын
You could use a prompt chain (previous video) where the first chain is a retriever and second chain an LLM chain with parser 👍
@lucasbastianik
@lucasbastianik 26 күн бұрын
Hey Leon! I checked if everything is identical yours and I'm getting this error in Output Parser (Sentiment Analysis): Error: Invalid JSON in the IfElse's Input Variables: SyntaxError: Expected ',' or '}' after property value in JSON at position 15 (line 1 column 16)
@_ZighiZago
@_ZighiZago 26 күн бұрын
I'm getting the same error. Have u fixed it?
@lucasbastianik
@lucasbastianik 26 күн бұрын
@@_ZighiZago Not yet.
@Adnan-gv9wu
@Adnan-gv9wu 25 күн бұрын
@@lucasbastianik were you able to solve it ?
@jwhitehv
@jwhitehv 24 күн бұрын
Is that at 2:36 when adding the Output Parser? Same. @leonvanzyl Before the Parser, I'm getting a good true/false answer. After, I get a parsing error. My best guess is that something changed after this video was made. Structured Output Parser has no documentation as of June 6th, 2024. The LangChain construct doesn't have an underlying boolean type. So again, I'm guessing something changed.
@horaciocuenca1046
@horaciocuenca1046 23 күн бұрын
@leonvanzyl May be was an ifElse parser problem, not in Output Parser. I exclude the Output Paser an use use the prompt --- You are an expert JSON coder Determine if the following review is positive: {review} Answer only in perfect JSON codifcation --- That gave me perfect answer in JSON format, and I feed the fiElse block with it and still have the Error: SyntaxError: Unexpected token '{' Please check and fix it. Thanks in advance
@NickNiles
@NickNiles 20 күн бұрын
I'm having the same error. I think it might have to do with the way "Input Variables" dialog formats the JSON object so that the IfElse (or any of the other utilities for that matter) doesn't know how to parse it. I saw there was a bugfix merged into the 1.8.1 release, but that's the release I'm using and the bug is still there.
@jwhitehv
@jwhitehv 24 күн бұрын
@leonvanzyl At 2:36 when adding the Output Parser, i don't get a JSON output. I think that's leading to the errors others are reporting in previous comments. Before adding the Parser, I'm getting a good true/false answer. After, I get a parsing error. My best guess is that something changed after this video was made. Structured Output Parser has no documentation as of June 6th, 2024. The LangChain construct doesn't have an underlying boolean type. So again, I'm guessing something changed.
@atbapp
@atbapp 23 күн бұрын
Having the same issue - have put in a request for help on the flowise discord
@cyborgmetropolis7652
@cyborgmetropolis7652 27 күн бұрын
Anyone know why this happens?: Error: Invalid JSON in the IfElse's Input Variables: SyntaxError: Unexpected token { in JSON at position 15
@karthikeyakuncham6929
@karthikeyakuncham6929 27 күн бұрын
same error i got. I dont know why, did u resolved it ? Error: Invalid JSON in the IfElse's Input Variables: SyntaxError: Expected ',' or '}' after property value in JSON at position 15
@pablostselioudis4139
@pablostselioudis4139 26 күн бұрын
did anyone resolve it?
@lucasbastianik
@lucasbastianik 26 күн бұрын
Same here
@_ZighiZago
@_ZighiZago 26 күн бұрын
Same here
@Adnan-gv9wu
@Adnan-gv9wu 25 күн бұрын
same here
@brilliant332
@brilliant332 2 ай бұрын
how would you create a chain where: 1. Use search (serp) to get a list of urls for a company 2. Use structured output parse to return a list of urls. I can't find out how to link the response from search to a structured output. Otherwise I'll need to create 2 flows, one for search and send the results to output parser.
@FAnwar10thPlanet
@FAnwar10thPlanet 4 ай бұрын
Hi bro, how long does it usually take to get an email back on your cognitative AI platform? love your videos but need some help with a project ASAP. Thank you !!
@leonvanzyl
@leonvanzyl 4 ай бұрын
I'll look into this. Been overwhelmed by enquiries since the start if the year 😅. Sorry about that.
@rodrigovale1610
@rodrigovale1610 4 ай бұрын
Do you think about create a full course to sell someday?
@leonvanzyl
@leonvanzyl 4 ай бұрын
Good question. Not sure if there's a demand. I just enjoy creating content for you guys.
@weber1209rafael
@weber1209rafael 4 ай бұрын
I have a question/challenge. I want to interview a user to gather a list of information about the user. How to I create a “loop” that keeps interviewing the user until all info is provided before continuing in a process?
@leonvanzyl
@leonvanzyl 4 ай бұрын
I get you. The best solution that I found was to use the Assistants API. I have a video on this and really easy to implement. For example, if you want to collect information about a lead, the assistant will keep asking until all information is collected.
@karthikeyakuncham6929
@karthikeyakuncham6929 27 күн бұрын
Hello leon I have followed the same but i have got this error I don't know why ....Error: Invalid JSON in the IfElse's Input Variables: SyntaxError: Expected ',' or '}' after property value in JSON at position 15
@pablostselioudis4139
@pablostselioudis4139 26 күн бұрын
did you resolve it? i get the same error
@lucasbastianik
@lucasbastianik 26 күн бұрын
Same
@_ZighiZago
@_ZighiZago 26 күн бұрын
I'm having the same problem
@lucasbastianik
@lucasbastianik 25 күн бұрын
Anyone solve it?
@Adnan-gv9wu
@Adnan-gv9wu 25 күн бұрын
Error: Invalid JSON in the IfElse's Input Variables: SyntaxError: Expected ',' or '}' after property value in JSON at position 11 same issue
@ananthagopi43
@ananthagopi43 4 ай бұрын
how to use the additional parameters in the retrieval conversational chain.
@leonvanzyl
@leonvanzyl 4 ай бұрын
Which ones?
@Mesenqe
@Mesenqe 2 ай бұрын
Hi, I wanted to buy you a coffee, is it possible to add PayPal to the payment options? I don't have access to visa and the other payment options. I think many would also prefer to have PayPal option.
@leonvanzyl
@leonvanzyl 2 ай бұрын
That is very kind of you 🙏. Here's a PayPal link: www.paypal.com/ncp/payment/EKRQ8QSGV6CWW
@Mesenqe
@Mesenqe 2 ай бұрын
@@leonvanzyl Tnx for the tutorials.
@bassamel-ashkar4005
@bassamel-ashkar4005 4 ай бұрын
Leon, I'd love to get your input about this. What could be the main challenge in creating an assistant inside flowise that 'Know and understand everything about the platform'. This AI assistant can suggest flows, components, tools, etc inside flowise based on any use case the user wants. Then take this assistant further to actually automate the creation of these flows. Please give me the main challenging points. I tried to create a custom assistant on chatgpt, but it's too stupid. it doesn't understand that AI assistants can return JSON responses and call functions. Their inability to understand this part alone makes creating AI-powered apps through Flowise or even coding in general, a difficult task because their suggestions are outdated.
@leonvanzyl
@leonvanzyl 4 ай бұрын
That's a very good idea. I'd also love to see more applications embed Chatbots into the UI in order to provide guidance and assistants. These are technical to implement and you'll need to understand coding. It's definitely outside the scope of Flowise.
@bassamel-ashkar4005
@bassamel-ashkar4005 4 ай бұрын
Let's scratch the automation part out. What would be the main challenge here to create a coding assistant chatbot that is fully aware of flowise project, every single feature it has and how they work, and is able to suggest the flows required for the given use-case and can tell you 'Which nodes to connect with other in order to achieve what you want' What do you think about using this use case in your next Flowise 2024 series as an example for creating chatbots/assistants? This way everyone will actually understand better and also they get to create their own assistant for flowise that will help them in whatever they want. @@leonvanzyl
@PubgSpeed-wl8yo
@PubgSpeed-wl8yo 4 ай бұрын
When will you add a hints feature, right in the chat window, like in gpt, so that the user can select a hint and follow it. This can be used to create a chat menu. For example, About Company, Our Services, or Products, Questions/Answers, Contacts. Without this feature, your bot lags behind the leaders of the chat market, of which there are now two, you know who I mean.
@leonvanzyl
@leonvanzyl 4 ай бұрын
Love the idea. I'm not the creator of Flowise, so can't tell you if they plan on introducing such a feature, but it might be an idea to create a PR on their GitHub repo.
@PubgSpeed-wl8yo
@PubgSpeed-wl8yo 4 ай бұрын
@@leonvanzyl You can create this for them, they know you better than me and they will listen to you more than to me, can you write this to them?
@ananthagopi43
@ananthagopi43 4 ай бұрын
i am using pdf document upload and i asked unrelated questions to that document it will showing the ans to restrict that what we want to do pls suggesst one video for that related.
@leonvanzyl
@leonvanzyl 4 ай бұрын
It doesn't have anything to do with output parsers. You can simply change the prompt to include words like (only answer from context).
@ananthagopi43
@ananthagopi43 4 ай бұрын
@@leonvanzyl in the latest flowise there is not there prompt connection to the retrieval conversational chain for that what i have to use
@ananthagopi43
@ananthagopi43 4 ай бұрын
in the Conversation retrieval QA chain had only additional parameters there is not there any prompt link
@gautammandewalker8935
@gautammandewalker8935 3 ай бұрын
How to add output parsers to conversational retrieval chain?
@leonvanzyl
@leonvanzyl 3 ай бұрын
Don't think it's the correct use of the conversation chain. What's the use-cases?
@gautammandewalker8935
@gautammandewalker8935 3 ай бұрын
Example: We have a Knowledge base with some documents say the flowise documentation from their website + transcripts of all your videos on flowise. When a user asks a query, the user should get answer + the relevant video link of your playlist + 2-3 follow-up questions to guide the user what to ask next. If this o/p can be structured using an o/p parser then it will be easy to render in the chat window. @@leonvanzyl
@gautammandewalker8935
@gautammandewalker8935 3 ай бұрын
I am using conversational Retrieval QA Chain.
@snehasissnehasis-co1sn
@snehasissnehasis-co1sn 4 ай бұрын
Please Create a workflow with flowise and Gemini Pro api key for chat with pdf
@leonvanzyl
@leonvanzyl 4 ай бұрын
Excellent idea. Will do.
@mistersunday_
@mistersunday_ 4 ай бұрын
So South African :D
@leonvanzyl
@leonvanzyl 4 ай бұрын
😁
@antoniomarf
@antoniomarf Ай бұрын
show
@luiswebdev8292
@luiswebdev8292 2 ай бұрын
hmm... it seems much easier to just use code...
@handsomelyhung
@handsomelyhung 4 ай бұрын
Is gpt vision available in Flowise?
@aiautomationgpt
@aiautomationgpt 3 ай бұрын
(nodeInstance.run is not a function) When I save and clear the chat i get that message. What could i be doing wrong ?
Building Chatbots with Long-Term Memory - FlowiseAI Tutorial #5
13:12
Василиса наняла личного массажиста 😂 #shorts
00:22
Денис Кукояка
Рет қаралды 9 МЛН
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 66 МЛН
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 34 МЛН
Add Flowise to ANYTHING! Flowise API Crash Course
28:17
Leon van Zyl
Рет қаралды 14 М.
Gemma 2 - Local RAG with Ollama and LangChain
14:42
Sam Witteveen
Рет қаралды 8 М.
Scrape Anything with GPT-4o (Vision Based Scraping)
10:40
Hugo Pod
Рет қаралды 2,4 М.
Vapi AI Function Calling Explained | Complete tutorial
22:30
Jannis Moore | AI Automation
Рет қаралды 3,4 М.
Using LangChain Output Parsers to get what you want out of LLMs
23:04
Dissecting SD3
20:25
Latent Vision
Рет қаралды 14 М.
Bash Scripting on Linux (The Complete Guide) Class 05 - If Statements
31:43
В России ускорили интернет в 1000 раз
0:18
Короче, новости
Рет қаралды 728 М.
cute mini iphone
0:34
승비니 Seungbini
Рет қаралды 5 МЛН
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 28 МЛН
Неразрушаемый смартфон
1:00
Status
Рет қаралды 2 МЛН