Output Parsers & IfElse Function - FlowiseAI Tutorial #4

Поділитися
Вставка

КОМЕНТАРІ • 190

  • @leongodwin69
    @leongodwin69 11 місяців тому +5

    I am loving this!! Really enjoy that you are making it more relevant to a business context, not just nonsensee AI hype. Thank you

  • @lucioussmoothy
    @lucioussmoothy Рік тому +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  Рік тому +1

      Thank you for the feedback and suggestion 🙏

  • @estevegraells
    @estevegraells 10 місяців тому +1

    Thanks for this series Leon, very useful!!

    • @leonvanzyl
      @leonvanzyl  10 місяців тому

      Hi Esteve, thank you for the support ❤️.

    • @estevegraells
      @estevegraells 10 місяців тому

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

  • @wgaitanartunduaga
    @wgaitanartunduaga Рік тому +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  Рік тому

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

  • @DamianGarciaARG
    @DamianGarciaARG 7 місяців тому +1

    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  7 місяців тому +1

      Thank you for this!

    • @dispatch-z9614
      @dispatch-z9614 7 місяців тому

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

  • @jamesyoungerdds7901
    @jamesyoungerdds7901 9 місяців тому +4

    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  9 місяців тому

      Amazing comment. Thank you 🙏

  • @СергейЗ-м4б
    @СергейЗ-м4б 11 місяців тому +1

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

  • @agustindesimonne
    @agustindesimonne 6 місяців тому

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

  • @TheBestgoku
    @TheBestgoku Рік тому +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  Рік тому

      Agreed!

    • @nick8292
      @nick8292 22 дні тому

      @@leonvanzyl Can it be compared to Open AI's "function calling"?

  • @Machiuka
    @Machiuka Рік тому +1

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

    • @leonvanzyl
      @leonvanzyl  Рік тому

      Glad you enjoy the series. New videos launching SOON!

  • @youriwatson
    @youriwatson 11 місяців тому +1

    This is exactly what i was looking for! Very exciting

    • @leonvanzyl
      @leonvanzyl  11 місяців тому

      You're welcome 🤗

  • @altonjones5271
    @altonjones5271 Рік тому

    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 😃

  • @jahn_star
    @jahn_star 11 місяців тому +1

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

    • @leonvanzyl
      @leonvanzyl  11 місяців тому

      You're welcome 🤗

  • @LEXI_Experts_Intelligence
    @LEXI_Experts_Intelligence 11 місяців тому

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

  • @HistoiresetConfessions-cc4le

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

  • @williespringer7995
    @williespringer7995 Місяць тому

    Are you on any learning plattfrom like udemy etc. You are an amazing teacher - i have learned so much from your videos with such a clearity. Thank you

    • @leonvanzyl
      @leonvanzyl  Місяць тому

      I'm not, BUT, I will be releasing a full course on UA-cam for FREE next week. It's going to be a a few hours long and contains pretty much everything I would teach in a paid course.
      Should release on Monday actually.

  • @andreaskaranas8432
    @andreaskaranas8432 9 місяців тому

    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.

  • @BadrLaajali
    @BadrLaajali Рік тому +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  Рік тому +1

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

  • @MaliRasko
    @MaliRasko Рік тому

    Another great video. Super informative.. thank you

  • @Adnan-gv9wu
    @Adnan-gv9wu 8 місяців тому +6

    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 8 місяців тому

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

  • @userbaed
    @userbaed 8 місяців тому +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  8 місяців тому

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

  • @maniecronje
    @maniecronje 6 місяців тому

    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  6 місяців тому

      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?

  • @jwhitehv
    @jwhitehv 8 місяців тому

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

    • @cold-email-skool
      @cold-email-skool 8 місяців тому

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

  • @sitedev
    @sitedev Рік тому +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  Рік тому +1

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

    • @sitedev
      @sitedev Рік тому

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

  • @lucasbastianik
    @lucasbastianik 8 місяців тому +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 8 місяців тому

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

    • @lucasbastianik
      @lucasbastianik 8 місяців тому

      @@_ZighiZago Not yet.

    • @Adnan-gv9wu
      @Adnan-gv9wu 8 місяців тому

      @@lucasbastianik were you able to solve it ?

    • @jwhitehv
      @jwhitehv 8 місяців тому +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.

  • @cyborgmetropolis7652
    @cyborgmetropolis7652 8 місяців тому +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 8 місяців тому +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 8 місяців тому +2

      did anyone resolve it?

    • @lucasbastianik
      @lucasbastianik 8 місяців тому +2

      Same here

    • @_ZighiZago
      @_ZighiZago 8 місяців тому

      Same here

    • @Adnan-gv9wu
      @Adnan-gv9wu 8 місяців тому

      same here

  • @cyborgmetropolis7652
    @cyborgmetropolis7652 8 місяців тому +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 8 місяців тому

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

  • @metamike23
    @metamike23 10 місяців тому

    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.

  • @dniliveact
    @dniliveact Рік тому

    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  Рік тому +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 11 місяців тому

      @@leonvanzyl Great stuff! Thank you!

  • @ThePandaGuitar
    @ThePandaGuitar 10 місяців тому

    Thank you soooooo much for doing this series

    • @leonvanzyl
      @leonvanzyl  10 місяців тому

      You're welcome 🤗

  • @D112-u2l
    @D112-u2l 10 місяців тому

    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.

  • @nitzantal5365
    @nitzantal5365 Рік тому

    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  Рік тому +1

      Excellent idea for a tutorial, thank you 🙏

  • @krisograbek
    @krisograbek Рік тому

    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  Рік тому +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 Рік тому

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

  • @karthikeyakuncham6929
    @karthikeyakuncham6929 8 місяців тому +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 8 місяців тому +1

      did you resolve it? i get the same error

    • @lucasbastianik
      @lucasbastianik 8 місяців тому +1

      Same

    • @_ZighiZago
      @_ZighiZago 8 місяців тому

      I'm having the same problem

    • @lucasbastianik
      @lucasbastianik 8 місяців тому

      Anyone solve it?

    • @Adnan-gv9wu
      @Adnan-gv9wu 8 місяців тому

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

  • @claudi7009
    @claudi7009 11 місяців тому

    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?

  • @aalamiinn
    @aalamiinn 8 годин тому

    Great Series! I love this tutorial. I have few question.
    I want to design a flow with local installed deepseek-r1 model. I want that when customer said Hello or hi or any greet chat-bot response with good greeting. But when customer ask directly a question it response with greeting + answer. For example if customer provide his account number to know the balance, I want to search database of that account number if exist i inform him the balance. How could I achieve this in flow. Please give me idea. By the way deepseek-r1 reply with so many sentence even for Hi, Hello

  • @nocturnalbreadwinner
    @nocturnalbreadwinner 3 місяці тому

    Hello Leon, as always great video! I do have a question, how do you connect an output parser to a flowise assistant?

    • @leonvanzyl
      @leonvanzyl  3 місяці тому +1

      You can only attach output parsers to LLM chains unfortunately.
      You could split your solution into 2 flows and orchestrate the logic with something like n8n or Make.com.
      Step 1. Call the Tool Agent and get response
      Step 2. Pass the agent response to an LLM chain with an output parser.

  • @kingpinoftherails926
    @kingpinoftherails926 11 місяців тому +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  11 місяців тому

      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.

  • @PulkitPrakash
    @PulkitPrakash 11 місяців тому

    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  11 місяців тому

      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 11 місяців тому

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

  • @cyberstudy7189
    @cyberstudy7189 11 місяців тому

    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  11 місяців тому

      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 11 місяців тому

      @@leonvanzyl thank you so much

  • @fleuriadon2564
    @fleuriadon2564 9 місяців тому

    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

  • @davidlapsanschi
    @davidlapsanschi 11 місяців тому

    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  11 місяців тому

      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.

  • @leechoonhwee
    @leechoonhwee 10 місяців тому

    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  10 місяців тому +1

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

  • @nitzantal5365
    @nitzantal5365 11 місяців тому

    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  11 місяців тому

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

  • @bambanx
    @bambanx 10 місяців тому

    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  10 місяців тому +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 10 місяців тому

      @@leonvanzyl thanks so much

  • @ia_para_Negocios
    @ia_para_Negocios 10 місяців тому

    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?

  • @itayba76
    @itayba76 11 місяців тому

    🤔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  11 місяців тому

      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.

  • @aimagicx
    @aimagicx Рік тому

    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  Рік тому +1

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

  • @MisCopilotos
    @MisCopilotos Рік тому

    This is excellent, thanks!

  • @Bobojfmlsl
    @Bobojfmlsl 6 місяців тому

    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?

  • @Francotujk
    @Francotujk Рік тому

    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  Рік тому

      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 Рік тому

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

  • @brilliant332
    @brilliant332 9 місяців тому

    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.

  • @videos6505
    @videos6505 Рік тому

    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  Рік тому

      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.

  • @waltgrace-mm1od
    @waltgrace-mm1od 11 місяців тому

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

    • @leonvanzyl
      @leonvanzyl  11 місяців тому +1

      Will definitely create a video on API tools soon

    • @waltgrace-mm1od
      @waltgrace-mm1od 11 місяців тому

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

  • @cyberstudy7189
    @cyberstudy7189 Рік тому

    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  Рік тому

      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.

  • @WolfMarbach
    @WolfMarbach 11 місяців тому

    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  11 місяців тому +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 👍

  • @WayneBruton
    @WayneBruton Рік тому

    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  Рік тому

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

  • @cesar333
    @cesar333 Рік тому

    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  Рік тому +1

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

  • @NigelPowell
    @NigelPowell Місяць тому

    I'm getting the following - Error: ReferenceError: $sentiment is not defined

  • @attilavegh6731
    @attilavegh6731 Рік тому

    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  Рік тому

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

  • @aiautomationgpt
    @aiautomationgpt 10 місяців тому +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 4 місяці тому

      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.

  • @bassamel-ashkar4005
    @bassamel-ashkar4005 Рік тому

    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  Рік тому

      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 Рік тому

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

  • @zidviziouz
    @zidviziouz Рік тому

    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?

  • @nathankoo1871
    @nathankoo1871 26 днів тому

    It seems that the IfElse Function node has disappeared from the Add Nodes menu. Was there recently an update that replaced this node?

    • @leonvanzyl
      @leonvanzyl  26 днів тому

      That's really interesting. Did you check under the utilities menu?

    • @nathankoo1871
      @nathankoo1871 25 днів тому

      @@leonvanzyl Thanks for the reply! Yes I did, I only see Get Variable, Set Variable, and Sticky Note.
      I'm hoping to find the IfElse or something comparable to it so I can do what you're doing in the video

    • @nathankoo1871
      @nathankoo1871 25 днів тому

      Ah turns out I was using AgentFlows so there is no IfElse node in Utilities, it's only in ChatFlows

  • @weber1209rafael
    @weber1209rafael Рік тому

    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  Рік тому

      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.

  • @bassamel-ashkar4005
    @bassamel-ashkar4005 Рік тому

    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  Рік тому

      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 Рік тому

      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 Рік тому +1

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

    • @leonvanzyl
      @leonvanzyl  Рік тому +1

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

  • @rahulkaid
    @rahulkaid Рік тому

    Love it!!

  • @GilbertMizrahi
    @GilbertMizrahi Рік тому

    Excellent.

  • @ananthagopi43
    @ananthagopi43 Рік тому

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

  • @PubgSpeed-wl8yo
    @PubgSpeed-wl8yo Рік тому

    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  Рік тому

      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 Рік тому

      @@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 Рік тому

    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  Рік тому

      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 Рік тому

      @@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 Рік тому

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

  • @Mesenqe
    @Mesenqe 9 місяців тому

    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  9 місяців тому +1

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

    • @Mesenqe
      @Mesenqe 9 місяців тому

      @@leonvanzyl Tnx for the tutorials.

  • @FAnwar10thPlanet
    @FAnwar10thPlanet Рік тому

    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  Рік тому

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

  • @pm1234
    @pm1234 Місяць тому

    Thank you so much [your name], I'm so happy to know you! Yeah, OK 😅

  • @horaciocuenca1046
    @horaciocuenca1046 8 місяців тому

    @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 7 місяців тому

      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.

  • @eagleisbatman
    @eagleisbatman 11 місяців тому

    How to add output parsers to conversational retrieval chain?

    • @leonvanzyl
      @leonvanzyl  11 місяців тому

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

    • @eagleisbatman
      @eagleisbatman 11 місяців тому

      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

    • @eagleisbatman
      @eagleisbatman 11 місяців тому

      I am using conversational Retrieval QA Chain.

  • @pm1234
    @pm1234 Місяць тому

    I tried "good service, bad recipe" and got a positive sentiment.

    • @leonvanzyl
      @leonvanzyl  Місяць тому

      I'm curious. Which model did you use?

    • @pm1234
      @pm1234 Місяць тому

      @@leonvanzyl llama v3

  • @sadyaz64
    @sadyaz64 Рік тому

    awesome

  • @snehasissnehasis-co1sn
    @snehasissnehasis-co1sn Рік тому

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

  • @mistersunday_
    @mistersunday_ Рік тому

    So South African :D

  • @antoniomarf
    @antoniomarf 8 місяців тому

    show

  • @luiswebdev8292
    @luiswebdev8292 9 місяців тому

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

  • @handsomelyhung
    @handsomelyhung Рік тому +1

    Is gpt vision available in Flowise?