Output Parsers & IfElse Function - FlowiseAI Tutorial #4

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ย. 2024

ความคิดเห็น • 175

  • @jamesyoungerdds7901
    @jamesyoungerdds7901 4 หลายเดือนก่อน +3

    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  4 หลายเดือนก่อน

      Amazing comment. Thank you 🙏

  • @cyborgmetropolis7652
    @cyborgmetropolis7652 3 หลายเดือนก่อน +2

    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 3 หลายเดือนก่อน

      That's what the output Parser is supposed to add to the prompt.

  • @lucioussmoothy
    @lucioussmoothy 7 หลายเดือนก่อน +9

    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  7 หลายเดือนก่อน +1

      Thank you for the feedback and suggestion 🙏

  • @leongodwin69
    @leongodwin69 7 หลายเดือนก่อน +3

    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  7 หลายเดือนก่อน

      Thank you!

  • @DamianGarciaARG
    @DamianGarciaARG 3 หลายเดือนก่อน

    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  3 หลายเดือนก่อน +1

      Thank you for this!

    • @dispatch-z9614
      @dispatch-z9614 3 หลายเดือนก่อน

      @@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

  • @wgaitanartunduaga
    @wgaitanartunduaga 7 หลายเดือนก่อน +2

    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  7 หลายเดือนก่อน

      So glad you agree 👍. No idea why they get overlooked in tutorials.

  • @TheBestgoku
    @TheBestgoku 7 หลายเดือนก่อน +1

    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  7 หลายเดือนก่อน

      Agreed!

  • @СергейЗ-м4б
    @СергейЗ-м4б 6 หลายเดือนก่อน +1

    What a fantastic Leon!!! Amazing talk, amazing information, amazing tool

    • @leonvanzyl
      @leonvanzyl  6 หลายเดือนก่อน

      Thank you 🙏

  • @youriwatson
    @youriwatson 7 หลายเดือนก่อน +1

    This is exactly what i was looking for! Very exciting

    • @leonvanzyl
      @leonvanzyl  7 หลายเดือนก่อน

      You're welcome 🤗

  • @agustindesimonne
    @agustindesimonne 2 หลายเดือนก่อน

    This series is super useful Leon, thank you so much mate for giving all this value for free 🙌🏽

    • @leonvanzyl
      @leonvanzyl  2 หลายเดือนก่อน

      You're welcome 🤗

  • @Adnan-gv9wu
    @Adnan-gv9wu 3 หลายเดือนก่อน +4

    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 3 หลายเดือนก่อน

      Error: Invalid JSON in the IfElse's Input Variables: SyntaxError: Expected ',' or '}' after property value in JSON at position 17

  • @estevegraells
    @estevegraells 6 หลายเดือนก่อน +1

    Thanks for this series Leon, very useful!!

    • @leonvanzyl
      @leonvanzyl  6 หลายเดือนก่อน

      Hi Esteve, thank you for the support ❤️.

    • @estevegraells
      @estevegraells 5 หลายเดือนก่อน

      @@leonvanzyl I think your videos are awesome, you are helping many people like me.

  • @Machiuka
    @Machiuka 7 หลายเดือนก่อน +1

    Very informative. I've learned a lot from it. Congratulations Leon!

    • @leonvanzyl
      @leonvanzyl  7 หลายเดือนก่อน

      Glad you enjoy the series. New videos launching SOON!

  • @jahn_star
    @jahn_star 7 หลายเดือนก่อน +1

    Thank you, sir. That is exactly what I am looking for.

    • @leonvanzyl
      @leonvanzyl  7 หลายเดือนก่อน

      You're welcome 🤗

  • @altonjones5271
    @altonjones5271 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน

      Thank you!

  • @LEXI_Experts_Intelligence
    @LEXI_Experts_Intelligence 6 หลายเดือนก่อน

    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  6 หลายเดือนก่อน

      Thank you!

  • @userbaed
    @userbaed 3 หลายเดือนก่อน +1

    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  3 หลายเดือนก่อน

      Check out the RAG video in the 2024 series. Flowise changed the way you upsert data to the vector store.

  • @maniecronje
    @maniecronje 2 หลายเดือนก่อน

    Hi Leon, great content as always, I was revisiting this video and wondered how this may be used using with Agents are you planning any such use cases in the future, would love to learn more tips and tricks around FW, as always love learning the content from you channel.

    • @leonvanzyl
      @leonvanzyl  2 หลายเดือนก่อน

      Hey Manie!
      Output parsers are usually meant to be used with chains, not agents. I think it's due to the conversational nature of agents.
      Hmm.. unless you manage to call and agent from a chain somehow and then parse the output.
      I'll give this some thought and create a video. Do you have a use-case for this?

  • @BadrLaajali
    @BadrLaajali 7 หลายเดือนก่อน +1

    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  7 หลายเดือนก่อน +1

      Thank you for the comment!
      The previous video was about prompt chaining. Wouldn't that work for you?

  • @andreaskaranas8432
    @andreaskaranas8432 5 หลายเดือนก่อน

    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.

  • @HistoiresetConfessions-cc4le
    @HistoiresetConfessions-cc4le 7 หลายเดือนก่อน

    Thank you, I was expecting for it :) thanks for your work

    • @leonvanzyl
      @leonvanzyl  7 หลายเดือนก่อน

      Perfect timing then 😁.

  • @sitedev
    @sitedev 7 หลายเดือนก่อน +1

    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  7 หลายเดือนก่อน +1

      My head is spinning! Anything you would like to see me cover?

    • @sitedev
      @sitedev 7 หลายเดือนก่อน

      @@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.

  • @MaliRasko
    @MaliRasko 7 หลายเดือนก่อน

    Another great video. Super informative.. thank you

    • @leonvanzyl
      @leonvanzyl  7 หลายเดือนก่อน

      You're welcome 😁

  • @kingpinoftherails926
    @kingpinoftherails926 7 หลายเดือนก่อน +1

    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  7 หลายเดือนก่อน

      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.

  • @krisograbek
    @krisograbek 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน +1

      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 7 หลายเดือนก่อน

      @@leonvanzyl Thanks for the quick answer. I'll have a look as well :)
      Now waiting for the next videos in your series about Flowise!

  • @nitzantal5365
    @nitzantal5365 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน +1

      Excellent idea for a tutorial, thank you 🙏

  • @waltgrace-mm1od
    @waltgrace-mm1od 6 หลายเดือนก่อน

    could you do a video on how to receive from a FTP or Get request? love these tutorials

    • @leonvanzyl
      @leonvanzyl  6 หลายเดือนก่อน +1

      Will definitely create a video on API tools soon

    • @waltgrace-mm1od
      @waltgrace-mm1od 6 หลายเดือนก่อน

      cant wait!! i love vercel for hosting and using s3 buckets@@leonvanzyl

  • @JoaquinTorroba
    @JoaquinTorroba 7 หลายเดือนก่อน

    This is excellent, thanks!

    • @leonvanzyl
      @leonvanzyl  7 หลายเดือนก่อน +1

      You're welcome 🤗

  • @dniliveact
    @dniliveact 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน +1

      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 7 หลายเดือนก่อน

      @@leonvanzyl Great stuff! Thank you!

  • @horaciocuenca1046
    @horaciocuenca1046 3 หลายเดือนก่อน

    @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 3 หลายเดือนก่อน

      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.

  • @videos6505
    @videos6505 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน

      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.

  • @davidlapsanschi
    @davidlapsanschi 6 หลายเดือนก่อน

    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  6 หลายเดือนก่อน

      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.

  • @Kss12791
    @Kss12791 2 หลายเดือนก่อน

    When the if-else section, which we entered as "sentiment", is changed to "review", the result does not change. Where did this "sentiment" we wrote come from?

  • @fleuriadon2564
    @fleuriadon2564 5 หลายเดือนก่อน

    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

  • @PulkitPrakash
    @PulkitPrakash 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน

      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 7 หลายเดือนก่อน

      @@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 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน

      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 7 หลายเดือนก่อน

      @@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?

  • @cyborgmetropolis7652
    @cyborgmetropolis7652 3 หลายเดือนก่อน +4

    Anyone know why this happens?:
    Error: Invalid JSON in the IfElse's Input Variables: SyntaxError: Unexpected token { in JSON at position 15

    • @karthikeyakuncham6929
      @karthikeyakuncham6929 3 หลายเดือนก่อน +2

      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 3 หลายเดือนก่อน +2

      did anyone resolve it?

    • @lucasbastianik
      @lucasbastianik 3 หลายเดือนก่อน +2

      Same here

    • @_ZighiZago
      @_ZighiZago 3 หลายเดือนก่อน

      Same here

    • @Adnan-gv9wu
      @Adnan-gv9wu 3 หลายเดือนก่อน

      same here

  • @jwhitehv
    @jwhitehv 3 หลายเดือนก่อน

    @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 3 หลายเดือนก่อน

      Having the same issue - have put in a request for help on the flowise discord

  • @lucasbastianik
    @lucasbastianik 3 หลายเดือนก่อน +3

    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 3 หลายเดือนก่อน

      I'm getting the same error. Have u fixed it?

    • @lucasbastianik
      @lucasbastianik 3 หลายเดือนก่อน

      @@_ZighiZago Not yet.

    • @Adnan-gv9wu
      @Adnan-gv9wu 3 หลายเดือนก่อน

      @@lucasbastianik were you able to solve it ?

    • @jwhitehv
      @jwhitehv 3 หลายเดือนก่อน +1

      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.

  • @ThePandaGuitar
    @ThePandaGuitar 6 หลายเดือนก่อน

    Thank you soooooo much for doing this series

    • @leonvanzyl
      @leonvanzyl  6 หลายเดือนก่อน

      You're welcome 🤗

  • @rahulkaid
    @rahulkaid 7 หลายเดือนก่อน

    Love it!!

    • @leonvanzyl
      @leonvanzyl  7 หลายเดือนก่อน

      Thank you

  • @brilliant332
    @brilliant332 4 หลายเดือนก่อน

    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.

  • @metamike23
    @metamike23 6 หลายเดือนก่อน

    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.

  • @claudi7009
    @claudi7009 7 หลายเดือนก่อน

    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?

  • @D112-u2l
    @D112-u2l 6 หลายเดือนก่อน

    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.

  • @WayneBruton
    @WayneBruton 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน

      You can make it as nested and complicated as you want 🤗

  • @itayba76
    @itayba76 6 หลายเดือนก่อน

    🤔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  6 หลายเดือนก่อน

      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 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน

      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 7 หลายเดือนก่อน

      @@leonvanzyl thank you so much

  • @aimagicx
    @aimagicx 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน +1

      You're welcome 🤗.
      I'll actually look into this and will create a video if / once possible.

  • @GilbertMizrahi
    @GilbertMizrahi 7 หลายเดือนก่อน

    Excellent.

    • @leonvanzyl
      @leonvanzyl  7 หลายเดือนก่อน

      Thank you 👍

  • @attilavegh6731
    @attilavegh6731 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน

      Will see what I can do. So many cool tools to go over 😁

  • @ia_para_Negocios
    @ia_para_Negocios 5 หลายเดือนก่อน

    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?

  • @karthikeyakuncham6929
    @karthikeyakuncham6929 3 หลายเดือนก่อน +2

    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 3 หลายเดือนก่อน +1

      did you resolve it? i get the same error

    • @lucasbastianik
      @lucasbastianik 3 หลายเดือนก่อน +1

      Same

    • @_ZighiZago
      @_ZighiZago 3 หลายเดือนก่อน

      I'm having the same problem

    • @lucasbastianik
      @lucasbastianik 3 หลายเดือนก่อน

      Anyone solve it?

    • @Adnan-gv9wu
      @Adnan-gv9wu 3 หลายเดือนก่อน

      Error: Invalid JSON in the IfElse's Input Variables: SyntaxError: Expected ',' or '}' after property value in JSON at position 11
      same issue

  • @WolfMarbach
    @WolfMarbach 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน +1

      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 👍

  • @bassamel-ashkar4005
    @bassamel-ashkar4005 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน

      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 7 หลายเดือนก่อน

      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

  • @rodrigovale1610
    @rodrigovale1610 7 หลายเดือนก่อน +1

    Do you think about create a full course to sell someday?

    • @leonvanzyl
      @leonvanzyl  7 หลายเดือนก่อน +1

      Good question. Not sure if there's a demand. I just enjoy creating content for you guys.

  • @bambanx
    @bambanx 6 หลายเดือนก่อน

    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  6 หลายเดือนก่อน +1

      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 6 หลายเดือนก่อน

      @@leonvanzyl thanks so much

  • @weber1209rafael
    @weber1209rafael 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน

      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.

  • @leechoonhwee
    @leechoonhwee 5 หลายเดือนก่อน

    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  5 หลายเดือนก่อน +1

      There isn't, but that would be awesome! All these ifelse nodes can get chaotic 😁

  • @PubgSpeed-wl8yo
    @PubgSpeed-wl8yo 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน

      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 7 หลายเดือนก่อน

      @@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?

  • @nitzantal5365
    @nitzantal5365 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน

      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).

  • @cyberstudy7189
    @cyberstudy7189 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน

      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.

  • @zidviziouz
    @zidviziouz 7 หลายเดือนก่อน

    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?

  • @cesar333
    @cesar333 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน +1

      You could use a prompt chain (previous video) where the first chain is a retriever and second chain an LLM chain with parser 👍

  • @bassamel-ashkar4005
    @bassamel-ashkar4005 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน

      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 7 หลายเดือนก่อน

      @@leonvanzyl It's not. But I appreciate you and your content very much ❤️ so I thought to seek help from you 😊

  • @sadyaz64
    @sadyaz64 7 หลายเดือนก่อน

    awesome

    • @leonvanzyl
      @leonvanzyl  7 หลายเดือนก่อน

      Thanks

  • @ananthagopi43
    @ananthagopi43 7 หลายเดือนก่อน

    how to use the additional parameters in the retrieval conversational chain.

    • @leonvanzyl
      @leonvanzyl  7 หลายเดือนก่อน

      Which ones?

  • @Mesenqe
    @Mesenqe 4 หลายเดือนก่อน

    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  4 หลายเดือนก่อน +1

      That is very kind of you 🙏.
      Here's a PayPal link:
      www.paypal.com/ncp/payment/EKRQ8QSGV6CWW

    • @Mesenqe
      @Mesenqe 4 หลายเดือนก่อน

      @@leonvanzyl Tnx for the tutorials.

  • @FAnwar10thPlanet
    @FAnwar10thPlanet 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน

      I'll look into this. Been overwhelmed by enquiries since the start if the year 😅. Sorry about that.

  • @snehasissnehasis-co1sn
    @snehasissnehasis-co1sn 7 หลายเดือนก่อน

    Please Create a workflow with flowise and Gemini Pro api key for chat with pdf

    • @leonvanzyl
      @leonvanzyl  7 หลายเดือนก่อน

      Excellent idea. Will do.

  • @ananthagopi43
    @ananthagopi43 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน

      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 7 หลายเดือนก่อน

      @@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 7 หลายเดือนก่อน

      in the Conversation retrieval QA chain had only additional parameters there is not there any prompt link

  • @gautammandewalker8935
    @gautammandewalker8935 6 หลายเดือนก่อน

    How to add output parsers to conversational retrieval chain?

    • @leonvanzyl
      @leonvanzyl  6 หลายเดือนก่อน

      Don't think it's the correct use of the conversation chain. What's the use-cases?

    • @gautammandewalker8935
      @gautammandewalker8935 6 หลายเดือนก่อน

      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 6 หลายเดือนก่อน

      I am using conversational Retrieval QA Chain.

  • @mistersunday_
    @mistersunday_ 7 หลายเดือนก่อน

    So South African :D

    • @leonvanzyl
      @leonvanzyl  7 หลายเดือนก่อน

      😁

  • @antoniomarf
    @antoniomarf 3 หลายเดือนก่อน

    show

  • @luiswebdev8292
    @luiswebdev8292 5 หลายเดือนก่อน

    hmm... it seems much easier to just use code...

  • @handsomelyhung
    @handsomelyhung 7 หลายเดือนก่อน +1

    Is gpt vision available in Flowise?

  • @aiautomationgpt
    @aiautomationgpt 6 หลายเดือนก่อน +1

    (nodeInstance.run is not a function) When I save and clear the chat i get that message. What could i be doing wrong
    ?

    • @jmballivian
      @jmballivian 7 วันที่ผ่านมา

      Hi there,
      I encountered the "nodeInstance.run is not a function" error, which I discovered was due to an attempt to optimize the workflow. In an effort to minimize nodes, I initially used a single OllamaNode connected to three LLM Chains, deviating from Leon's tutorial where he explicitly used one ChatOpenAI node for each LLMChain. It appears that Flowise doesn't support this type of shortcut.
      The solution was straightforward: I added the two missing ChatOllama nodes (one for each LLMChain), and the workflow now functions perfectly. If you're experiencing a similar issue, you might have been trying to economize on ChatOllama nodes as I did.
      On a related note, I'm using the Phi3.5:3.8-mini-instruct-q4_k_m model, which runs smoothly on my local hardware.