UPDATE: Flowise Supabase Upsert Endpoints - Langchain AI app with Flutterflow No-code Crash Course

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
how's it going Jasper from num codes here this is a quick update video to my lanchang AI plus fler flow course um so the key changes is to how the superbase upsert and query flow works now after uh flow wise update to the super base uh note so to quickly go back to what we previously had is that we have a PDF upsert flow where we use a note to we first chop down a PDF file upsert it into uh your super base and this node as we can see right now has these notification icon that says it will be dicated soon so you have to update it and this is the whole reason why I want to update it now because it's not like this flow doesn't work anymore uh it's just after flow wise future update these won't this will no longer be available and what we previously had are three flows one is PDF upsert and after you have up s your PDF file uh as embeddings into your vector database your super base uh you then use a query uh flow to actually uh ask for information about the embeddings and then um the QA train actually retrieve the information and spit out and output to answer your questions specifically around uh the documents the embedding you want to search through so if um after this flow wise update um they have basically combined these two flows so upsurt and querying are actually combined into one flow as you can see there's only one node called super base is no longer called super base upsert document and super base Lo existing index it's just called super base so this one node can handle both upserting and also quing and this is the main change you can essentially combine find um upserting your document and then quartering your document into one chat flow instead of separating them out into two flows um this is great uh but for our course actually we still need a query flow we still need this Universal query flow it's just when to swap out this node as well um the reason is because we also have a web abser flow right it's because we want to upser two types of documents one is website St content and also one is PDF document so because we're mixing these two uh we can't really just um use one flow to query these two um types because you can't really put uh connect two nodes into this one uh point of contact document right so this is why we still for our course we still need a way to um upsert a PDF and we still need a way to upsert web a web scrape content and also we still need a universal query flow to to talk uh to to ask for information um from our database that's why we C this Universal query is because this is just a universal chat flow to ask for uh all the informations in our database and it can either be from a document loader or it can be from web scraper so in terms of chat flow after the flow wise update it's not like we have reduced our chat flows it's it's just we have to update the notes um but obviously if your application only needs one type for example you only want user to upser PDF type then obviously you only need one chap flow to realize uh both upserting and also quaring and let me show you how to do that let's use let's start with PDF what changes need to be made so very simply put is you just have to switch out all the uh a noes that has this icon to the new one so all all you have to search for for the open AI one it's uh you just search for an open AI note to switch it out as long as you don't see this uh icon that means you are using the latest version three and also for recursive character text splitter as long as you don't see these icon that means you are using the latest version too once you have switched this out for super base node now you have to search for super base and you can see three now if you search through the base one is upsert one is load existing that's going to be deprecated pretty soon so all you need now is this new super base node it's just called super base and you have to connect them like this one um it's pretty much all the connecting bits are exactly the same you don't have to do anything new about it all you have to do is switch out the nodes to the latest version and connect your credentials put in your project URL and a table name quer name and you are done what is different is when you are up uh when you're upserting a query you essentially using two different endpoints you are using two different API endpoints now so before all of the endpoints are just simply in this popup but right now after this change this endpoint basically prediction endpoint it's uh what we you used to do uh it's basically for query so predict prediction end point is for quering all these is not going to be changing and prediction and plus your chat flow ID um this basically means you are asking for information from your super base you're quering information but if you want to upsert you have to click this green button click show API and now you can see after V1 after your base URL if you want to upser you have to follow up with vector upser and your chat flow ID with this endpoint you are actually doing the upsert action um so that's the only difference if you just want to use instead of like connecting to an API connecting to a flutter flow if you just want to use flutter flow's UI um it's it's the same for you um if you want to upsert all you have to do is upload your PDF here and once you're done you can click this button to upser and once it's upseted you can simply open up this chat bubble and you can start chatting with your PDF file um but obviously if you are connecting to flutter flow if you follow the course um this is the only change you have two different endpoints on the same chat flow to uh to execute either upser or uh query respectively um and this is the same for web upsert switch out the nerde if you don't see any yellow icon that's good that means you're up to date and it's the same if you want a query from uh query from this flow use the prediction endpoint if you want to upsert make sure you click on show API and use the vector SL upser endo and that's the only change uh so I have up updated the chaff template on uh basically the course material so all of the chaff templates I have left them uh on a Google Drive Link so you can just simply download them and you can just uh the chat flow from here so all of that hasn't changed majority of the videos still work the end points are the only changes you have to make and what does it mean on the fluter Flow side um so for in part two basically where we talk about how to connect API how to configure API on Flo to flow and then uh configure them connect them with the front end and configure the Logics so the Logics bit the front end bit hasn't changed one bit the only thing you need need to change it's the API import as we have talked about because now the the there's a new upsert endpoint that we have to uh to use for both website upsert and also PDF upsert uh we have to do some changes to our API endpoints so with our basic URL we stop at B1 slash so we stop here obviously these is my own domain yours will look very different so make sure you you don't just right away copy my domain but this is the endpoint base URL you stop at B1 SL and for different um Obert end points for example PDF upsert um you simply use what you have here you follow up with vector upsert and your own chat flow ID you put it here and remember to use your own if you have purchased my template um I have already made the changes this is the newest template everything every all the changes already in here and the rest is the same as my previous video all of the variables all of the bodies and how you get your metad data how how you configure all of that it's all the same all you have to change is the endpoint for upsert and for web upsert is the same vector upsert and then use your own chat flow ID and all of these stay the same um and for Universal query obviously after you have changed the base URL make sure you use use uh the right prediction um oh before I forget you also have to update your Universal query node so basically I walk you guys through here so because the load existing index is going to be deprecated soon you delete that go for super base and use the new one connect your embeddings and the document you don't need to connect anything and with the open AI make sure you delete that open Ai and you and use the same as long as you don't see the iPhone that means yours is up to date and you just connect that and connect the retriever to yeah connect the retriever to uh the vector store Retriever and this is it click save and this is your for new Universal query um chat flow you all you have to do is to update the node and obviously don't forget to populate everything here and make sure you grab your endpoint off the V1 prediction in your chat flow ID put it in here and the rest of the the body the Json body how that's structured the variables stay the same and this is it really all you have to change is to make sure update the nodes on flowise side and also grab the right uh API endpoint for upser and also for quering uh for our course the three uh endpoints uh structure basically uh it still stay the same it's just you have to change the endpoint and the Bas URL a little bit um and the rest on the front end everything the Logics how it's connected you can still follow uh the part two of our course video and this is it today uh quick update um just to answer questions that people have been ask asking me because they've been saying a lot of the uh endpoints are not working for them um so just to quickly answer that when you test my uh app sometimes it's not working is because I haven't been paying for super base so it will hit a limit uh so when you try it if it doesn't work that means that probably hit my daily limit I have to clear out my super Bas back to uh basically clear out embeddings um and also in terms of the end points as long as you haven't updated your uh flow wise to the newest version this should still work but I will highly recommend to follow this video and to get the changes done because eventually you need to update your flow eyes and then all of these will be deprecated um and this is it join my Discord to ask me more questions and I will see you in the next video thank you
Info
Channel: Nomo Codes - Build apps with no-code & AI
Views: 1,112
Rating: undefined out of 5
Keywords: nocode, softr, airtable, design, ux, ui, web design, web development, frontend, backend, lowcode, 3d, spline, product, saas, framer, webflow, googlesheet, zapier, make, integromat, bubble, figma, adobe, plugin, ios, android, pwa, sparkar, lensstudio, chatgpt, gpt4, openai, flutterflow, aigen, generativeai, generativedesign, nocodedesign, nocodeai, automation, MVP, startup, entrepreneur, ai, agi, artificial intelligence, generative ai, gpt
Id: RNDrC72693k
Channel Id: undefined
Length: 12min 21sec (741 seconds)
Published: Tue Mar 12 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.