Step-by-Step Tutorial: Create a RAG Chatbot with n8n AI Agents in MINUTES

Поділитися
Вставка
  • Опубліковано 24 гру 2024

КОМЕНТАРІ • 166

  • @leonvanzyl
    @leonvanzyl  2 місяці тому +15

    How are you planning to use AI Agents in your workflows?
    Please remember to hit the like button 👍.

  • @Pablo-Ramirez
    @Pablo-Ramirez 2 місяці тому +4

    First, I don't speak English, so I apologize if this is poorly translated. Your video is by far the best one I've found about n8n. It's very clear and includes many details that others don't show. Please accept my humble congratulations, and thank you so much for your excellent work. I'm new to this and want to start a business to help me earn some extra money. Sending you a big hug and many thanks. Please keep making your videos!

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

      Thank you very much for the kind words! 🙏

    • @Pablo-Ramirez
      @Pablo-Ramirez 2 місяці тому

      @@leonvanzyl I wanted to share that thanks to you, I was able to implement my first functional RAG with n8n. I am a Spanish speaker, and I give instructions to the agent in English. At first, the agent was responding to the tool and not delivering the answer to the user, as if it was replying to itself, haha. Do you know why this could be happening? Thank you so much for your videos.

  • @alvinmoore6775
    @alvinmoore6775 6 днів тому

    Thank you for the patience. You’ve earned another like and subscription.

  • @SparkOfThoth
    @SparkOfThoth 15 днів тому

    Very good content! - I would add brief info that the problem for this type knowledge base (RAG) is/can be the limitation of database for this type ... when you want to add a lot of data there then you need to also take care the RAG retrieval - optimize and supposedly use prefix data - for example name of article, topic etc before every chunk and rag need to check if text is relevant at all. plus I would rather also focus on dekerized n8n usage as its more robust (can be) and of course It would be perfect to have your thought for n8n vs flowise vs others to know what to use and with which ind for what.

  • @leonardosoaresdeoliveira7124
    @leonardosoaresdeoliveira7124 13 днів тому

    Thanks for your tutorial! Helped me a lot.

  • @JaMinaEngram
    @JaMinaEngram 2 місяці тому

    I didn't add the chat bot to a website but I was able to follow from start to finish. Great tutorial.

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

    Thank you my man. This is fantastic. A concise and excellent step-by-step tutorial.

  • @krisszostak4849
    @krisszostak4849 2 місяці тому +1

    Love your tutorials Leon! So easy to follow! Packed with really usefull knowledge and no unnecessary chatting. Amazing work!

  • @arod-19
    @arod-19 2 місяці тому +2

    Thank you so much for this Leo! You got a like and subscriber 👍 I am stuck at 18:16 trying to share my bot publicly, because it says "This workflow has no trigger nodes that require activation". What did you do for that step? Thanks in advance!

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

      Thank you for the like and sub 🙏.
      You need to run n8n in the cloud (either self hosting of their paid service) in order to share the charbot.
      If you are running it on the cloud then you might just have to check the settings on the chat node. There should be a toggle available to make it publicly available.

    • @oleksandrbabiy5737
      @oleksandrbabiy5737 2 місяці тому +1

      @@leonvanzyl Thank you for answer, but I have the same issue on n8n cloud trial - the same massage for activation and and this massage in Chat parameters "This node is where a manual chat workflow execution starts. To make one, go back to the canvas and click ‘Chat’", and no toggle.

    • @walterbiffi6988
      @walterbiffi6988 2 місяці тому

      @@oleksandrbabiy5737 Here is how you can get it to work:
      - Click the + icon to open the nodes panel
      - Search for chat...
      - Select Chat Trigger
      Replace the other chat with this and you should be good to go.
      HTH

    • @vaz14
      @vaz14 2 місяці тому

      @@oleksandrbabiy5737 same here, did you end up figuring this out?

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

      @@oleksandrbabiy5737 You may have figured this out already, but I was having the same issue and it was extremely aggravating. For your trigger, do not select "On chat message". Instead, type "chat" in the search nodes field and "Chat Trigger" will be the first option. Use this node and you will have the ability to make it publicly available. If you check the settings of the original "On chat message" node, you will see that it is deprecated. Why it is still available as an option, I have no idea.

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

    You are a genius! Many thanks Leon

  • @hajduadam
    @hajduadam Місяць тому +1

    Great video, many thanks. A question: For me the response come back in a Jason format in the chat like: { "response": { "text": "The emergency contact is Jack Daniels." } } instead of plain text? If it is embedded or hosted, is the same. The Chat model response format is set to TEXT. Thank you!

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

    Awesome content! Not enough people make information about n8n! Thanks so much!

  • @MatichekYoutube
    @MatichekYoutube 2 місяці тому

    I noticed that "OpenAI Assistants" are using chunk 800 with overlap 400 - which surprisingly works really well for larger datasheets with text.

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

      Definitely try increasing the chunk size for larger data sets.
      My sample was small for the tutorial, hence that small chunk size.

    • @MatichekYoutube
      @MatichekYoutube 2 місяці тому

      @@leonvanzyl yes, thank you - if I remember "k" value parameter - returns similar results (chunks) and then extracts the info?

  • @Mcmarshdzwimbu-ht2md
    @Mcmarshdzwimbu-ht2md 7 днів тому

    we love youuuu leeon

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

      Love is in the air it seems 😅

  • @AyS-kj4ok
    @AyS-kj4ok 13 днів тому

    Thank you it is very interesting.
    I’d like to clarify the costs of using embeddings with a chatbot. If I embed a set of documents (e.g., store them in Pinecone), I understand there is an initial cost for the embedding process. If these documents don’t change over time, do I need to re-embed them every time the chatbot is used? Or can I pay for embedding once, 'freeze' the embeddings, and reuse them indefinitely for queries without additional embedding costs?

  • @user-uv3nv2bc6v
    @user-uv3nv2bc6v 2 місяці тому +1

    Very nice video Leon. Keep going with AI and n8n please.

  • @yahyaal-salman702
    @yahyaal-salman702 Місяць тому

    you are the best youtuber ever, thank you

  • @JohnDoe-n8s
    @JohnDoe-n8s 24 дні тому

    Great video 👍
    Assuming the menu changes every month, what is the best way to handle the updating of the vector store? Is there a way to automate the deletion of the outdated data?
    Also, instead of documents, what if the context should come from the website which is refreshed regularly? What is the optimal way to handle this? Thank you!

    • @leonvanzyl
      @leonvanzyl  23 дні тому

      Thank you for the feedback 🙏.
      I actually have a video on both Record Manager (which removes duplicates and stale data) as well as auto refreshing document stores.
      BUT, Flowise released a new API for handling the refresh side of things. I'll release a video on it in the next few days.

  • @alpaykasal2902
    @alpaykasal2902 28 днів тому

    This helped me get set-up. Thank you!!!

  • @gtrusler
    @gtrusler 2 місяці тому

    First off, I have to say that you do the best tutorials of any I find on UA-cam. Second, I have a question. I have a workflow similar to the one in this tutorial. Do you have any issues with the Google Drive trigger having trouble when you add a lot of documents to the watched folder at once? I find that it sometime submits the same file that was triggered earlier or it misses a lot of them. I see this trigger used in tutorials all over youtube so I'm either doing something wrong or most people only feed it a small number of documents at once. I'm curious if you've noticed anything similar.

  • @tradfabio
    @tradfabio 2 місяці тому

    Congratz Leon! Nice Tutorial Video! 👏👏👏

  • @BlackBification
    @BlackBification 2 місяці тому

    Amazing video man. I'd love more long videos on n8n and Flowise like this one!!!

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

    Nice work this is a super tedious task so it is really nice to have this step by step ❤

  • @sandowssecret7363
    @sandowssecret7363 2 місяці тому

    Another awesone video Leon Thank you

  • @BadBite
    @BadBite 2 місяці тому

    As always, the best and most useful videos on youtube

  • @lucaciaraffo6368
    @lucaciaraffo6368 2 місяці тому

    Hi @Leon, thanks again for the valuable work you are doing, you got me hooked on AI. I would like to use Flowise to do customer care ticket analysis. My idea was to upload the tickets to Airtable, connect it to pinecone and then connect an Agent. but it seems that the agent is not able to analyze all the tickets and give me some overview information such as “what are the most frequent requests” or it is not able to calculate how many complaints there are as a percentage of the total. It seems to analyze more the individual index record...am I doing something wrong? even with n8n...the total number of tickets it can give me but it can't do analysis...how come? Thanks a lot in advance!!!

  • @damadorpl
    @damadorpl 2 місяці тому +3

    Did you use any guardrails on chats - setting public acces (especially on websie) can atract many who try to use "free public endpoint" just by asking own questions not from RAG

    • @leonvanzyl
      @leonvanzyl  2 місяці тому +4

      I typically try to instruct the model (via system prompting) to only answer questions about the business and nothing else.
      But you make a good point. Things like rate limiting and approved domains are important. I'll try and cover these in a video as well.
      Great comment 👍

  • @Cunha-r9e
    @Cunha-r9e 16 днів тому

    Hey Leon, thanks for your video. Just one thing... How can you manage my token usage? To be more specific... how can I extract the use of tokens during a conversation (I used Tools Agent .... practically the same as you)?

  • @santi-leoni
    @santi-leoni 2 місяці тому

    Great videos 10/10. Straight to the point and providing value. Thanks Leon

  • @adisaksukul8088
    @adisaksukul8088 2 місяці тому +3

    Hi Leon, Thank you for the awesome video, as usual. I have a question: for beginners without coding experience, which is easier to start building a RAG chatbot for my own documents between this n8n or flowise?

    • @leonvanzyl
      @leonvanzyl  2 місяці тому +4

      Thank you!
      I think both platforms make it really easy.
      The Document Store in Flowise is great if you've got many different data sources that need to be managed as a single knowledge base.
      Either way, both are great to learn if you're new to RAG.

  • @voxbotuk
    @voxbotuk 2 місяці тому +1

    Great tutorial. Taking your example further, could the N8N chatbot display images? Say the bot was asked "Show me a photo of today's special" and the dish's images were stored on Google Drive?

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

      That's a great question!
      I actually managed to "accidentally" return images before!
      Since the responses are in markdown, it's possible to instruct the model to return image links as embedded images.
      It looks absolutely crap though and styling is all over the place 😀.
      There might be some bright spark in the community who knows how to make this work.

  • @GeoffCoope
    @GeoffCoope 2 місяці тому

    This is great, thanks for posting. I only got snagged when trying to add a filename property from the metadata. I have a single Google Doc in my drive folder but when i run the workflow and access the schema, there is nothing to choose. The vector DB contains the doc contents. No errors. Just no metadata in the data loader. It says "No fields - item(s) exist, but they're empty"

    • @cyranheim
      @cyranheim 2 місяці тому +1

      had this error aswell its a bug in n8n. try to drag and drop when you are not in Schema mode

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

    Really nice! Very thank for share 🙏

  • @rahulwadhwa2886
    @rahulwadhwa2886 2 місяці тому

    Great demo..thanks

  • @abrahamprieto8815
    @abrahamprieto8815 2 місяці тому

    Hi Leon, amazing tutorials like always. Actually I always see it, but this is the first one I am doing it. Question How I reset the AI Assistance to start a new conversation? And not still having the last conversation on memory

  • @KK-sr7or
    @KK-sr7or 2 місяці тому

    Hi Leon, wonderful video. Thanks. I want to understand what will be the approximate costs involved for this setup and where all subscriptions will be required?

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

      Check out the first two videos of my n8n playlist where I answer both questions 😊.
      In summary, you can self host for free, or pay like $7 to host it on Render.
      You could also pay for n8n's hosting if you don't want to deal with any of this.

  • @natman4450
    @natman4450 2 місяці тому

    Amazing videos, thanks for this work !

  • @부기-f1i
    @부기-f1i 2 місяці тому

    Your tutorial has been like a ray of light for me! Thank you so much.
    I have one question. The prompt I’m planning for my chatbot is quite long, but when I try to input it as it is, I get a message saying it’s too long and that I need to shorten it. Is there any way to extend the character limit for the prompt?

  • @MustRunTonyo
    @MustRunTonyo 2 місяці тому

    Interesting. Is there a way so that the chatbot returns also the documents, or context, used for the answer?

  • @오늘만-q2q
    @오늘만-q2q Місяць тому

    Thank you for the good video.
    I have a question to ask you.
    I don't have an option in the message received node like you.
    Do you know why?

  • @Rami_Elkady
    @Rami_Elkady 2 місяці тому

    It is amazing that n8n is free to use

    • @leonvanzyl
      @leonvanzyl  2 місяці тому

      Agreed

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

      says starter pack is $20 a month. Am I missing a hack to get it for free ?

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

      @profitpurpose
      I think you are right. I was hoping there would be a free at least.

  • @ramsesvandensteen6386
    @ramsesvandensteen6386 2 місяці тому

    Awesome stuff like always, many thanks! Using this structure, what would be the most efficient way to embed both documents from Google drive as you've shown here and a public website (for example an API documentation page that gets updated regularly) at the same time?

    • @leonvanzyl
      @leonvanzyl  2 місяці тому

      Hey there! Thanks for the feedback.
      n8n provides a couple of nodes for scraping website data, so you could have a workflow that runs on a schedule, extracts the content from those pages and then calls the Pinecone vector store, just like we did in this video.

    • @ramsesvandensteen6386
      @ramsesvandensteen6386 2 місяці тому

      @@leonvanzyl Thank you for your prompt reply, really appreciate it! Could I store both the scraped data and the google drive with the documents in the same pinecone vector store, or should I use separate vector store tools?

    • @leonvanzyl
      @leonvanzyl  2 місяці тому

      @@ramsesvandensteen6386 you can use the exact same Pinecone Index and Namespace 👍.

  • @GCPTraining-o9o
    @GCPTraining-o9o 2 місяці тому +1

    @leonvanzyl - Your videos are great. Getting an error in Window buffer memory "No session ID found". Please help.

  • @giacomomirandola271
    @giacomomirandola271 2 місяці тому

    Hi @leonvanzyl, great video.
    I have a question: how do I add an additional final step that saves me a record with user question and chatbot response to database?
    I have already connected the postgres database and when I write something, it actually saves the output.
    So so far so good, however then on the chatbot side it returns the postgres output to me, so the record I just entered ({id: 12, input: “test”, output: “something”})
    And not just the llm output message.
    I put this item as an item linked to the “AI Agent” item. Maybe this is where the mistake is? I tried to move it but I don't understand where to put it.
    In other words, I want the chatbot to work exactly like yours, but in addition it saves my conversations to database.
    Thanks

  • @MustRunTonyo
    @MustRunTonyo 2 місяці тому

    Great vid!! Could you please make a video about using openwebui as front end, and this n8n workflow as backend orchestrator? I'm having some issue...thanks! :)

  • @tal7atal7a66
    @tal7atal7a66 2 місяці тому

    thank you bro for this very nice cocktail 🍹🍸 ❤❤❤

  • @herbyprein9096
    @herbyprein9096 2 місяці тому

    Great video! I have installed n8n in a Docker container on my NAS using docker compose. Now I wanted to rebuild your chatbot, except that I wanted to use a local file (from my Macbook download folder). Unfortunately, I always fail when accessing the local file. I have already tried the entry “- /Users/hpr/Downloads/N8N:/files” under Volumes in docker-compose.yaml, unfortunately without success. Is it possible to show how this works in a video?

    • @leonvanzyl
      @leonvanzyl  2 місяці тому

      Unless you're technical, it can be very hard to work with docker and volumes. Check out my n8n getting started video and follow the setup instructions

  • @PhunkyBob
    @PhunkyBob 2 місяці тому

    Very usefull!
    Thank you for sharing 👍

  • @MatichekYoutube
    @MatichekYoutube 2 місяці тому

    Hello, thanks for the tutorial - maybe you know Leon - why we didn't use ada for embedding - but "3-small" one .. is that one better?

  • @JoaoCarlos-bp8ip
    @JoaoCarlos-bp8ip 2 місяці тому

    Thank you Leon, I loved the tutorial, I followed it step by step, writing down details, and I was finally able to understand part of the process. As for the final result of the chatbot, it was frustrating, maybe I did something wrong, but I had a simple document that informed the age range of children who could enroll in a school, from 4 to 11 years old. I repeated 10 variations of the same question with varied answers, always informing the same age range and when asked, the chatbot always answered that it was from 2 to 7 years old. The basic text was in Portuguese, but the clarity of the answers indicated that it understood the question perfectly, but it always got the answer wrong, repeatedly. Do you have any suggestions on what could be the cause?

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

      It could very well be the language. Maybe you could try the same thing with an English data source, just to prove this?
      These models are small for a reason 😊

  • @vladiaz
    @vladiaz 2 місяці тому

    hi Leon wheni try to share the URL of the chat it say "his node is where a manual chat workflow execution starts. To make one, go back to the canvas and click ‘Chat’" how do you enable this as a trigger?

  • @mortu90
    @mortu90 2 місяці тому +2

    Hi Leon thanks again for such a comprehensive tutorial!
    However when I try to activate this flow, I get "This workflow has no trigger nodes that require activation"

    • @LURASASA
      @LURASASA 2 місяці тому

      Thanks, Leon for a very useful video, as usual. I'm joining @mortu90 on this.

  • @WayneBruton
    @WayneBruton 2 місяці тому

    Hi Leon, would love a post on posting to Facebook and LinkedIn.. really struggling

  • @stevewarby12
    @stevewarby12 2 місяці тому

    High Leon. Thanks for another well planned video 😊. Does this automatically handling the update if documents?

    • @leonvanzyl
      @leonvanzyl  2 місяці тому

      In the video we are watching for new files, but you can change that you update if you wanted

    • @stevewarby12
      @stevewarby12 2 місяці тому

      @@leonvanzyl Hi. I have done the tutorial and get one csv file into the vector store. I am not getting a Google Drive Trigger. It is set to check every minute but nothing happens. The workflow is set to active. I Drag another csv file into the folder no response. Anyone else having this issue ?

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

    I have configured vector store tool as you said in the assistant work flow, but it is not retrieving any documents

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

      The issue could be with the data / document that you're trying to upload?

  • @MH-xx6df
    @MH-xx6df 2 місяці тому

    Hi Leon, how would I do this with an S3 bucket, with multiple files please? The node options are a bit different to Gdrive.

  • @MariusVisser-k2m
    @MariusVisser-k2m 2 місяці тому

    Hey Leon, I followed along the tutorial, but i do seem to be having problems with the retrieval or the pinecone vector indexing. the model keeps saying it does not know, even though I give it the precise text that I have in my QandA document. Have you had this problem before where the retrieval is not correct. I have made sure my models are the same for both saving and retrieving in from the index, and the embeddings is 3-small. what else can i check here

    • @leonvanzyl
      @leonvanzyl  2 місяці тому

      Hi Marius,
      Retrieval can be quite tricky to get right, so don't get discouraged.
      The quality of the results can vary greatly on the vector store used, the embeddings model, the type of data, the text splitter used, the chunk sizes, etc.
      So it's a little bit tricky to give you guidance based on the comment alone.
      Try using one of the more advanced models for a start, like GPT-4o or Claude 3.5 Sonnet.
      Ensure that there's nothing in the system prompt that might force the model to say it doesn't know.
      Use a high quality vector database, like Pinecone.
      Create larger chunks (like 2000 chars with 200 char overlap).

  • @BadreddineOtky
    @BadreddineOtky 2 місяці тому

    Thank you for your n8n videos. Great!!!
    I know you are going step-by-step on difficulty but is it possible to have a video using custom JS code nodes?

    • @leonvanzyl
      @leonvanzyl  2 місяці тому

      Great idea. The JS code nodes are awesome. Will definitely create a video on them.

    • @BadreddineOtky
      @BadreddineOtky 2 місяці тому

      @@leonvanzyl Thank you🤩🥳

  • @HillParkEnterprise
    @HillParkEnterprise 2 місяці тому

    Great video. Referring to 18.27 to make the chat public, is there a way to do this on the self-hosted n8n on render?

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

      Absolutely!
      I'm self hosting on Render

  • @juliobn7
    @juliobn7 2 місяці тому

    Hi, thanks for sharing your knowledge, Getting an error in Window buffer memory "No session ID found". Please help

  • @RobertVirona-l8i
    @RobertVirona-l8i Місяць тому

    demasiado bueno, gracias

  • @WayneBruton
    @WayneBruton 2 місяці тому

    Great video Leon, really undecided between this and floiwise, both are cool. I think n8n might be easier. However, despite everything, I get the best results using Assistant API and with GPT-4o-mini it is affordable. Would love a tutorial using Assistant API on n8n

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

      Both are worthwhile to learn.
      In fact, I like combining n8n and Flowise.

    • @WayneBruton
      @WayneBruton 2 місяці тому

      @@leonvanzyl agreed that is the way to go

  • @JerryLJackson
    @JerryLJackson 2 місяці тому

    Can I resell n8n chatbots under the self hosted license? Can you do a video on how to remove the powered by n8n logo from Hosted Chat widget or using the embed Chat method?

  • @boructomek
    @boructomek 11 днів тому

    I tried other free AI models, but none of them worked. Will the OpenAI Plus plan be sufficient?

  • @SebKrogh
    @SebKrogh 2 місяці тому

    How do i make a setup, where the Google trigger watches for fileUpdated - updates the vector store, but also deletes the previous records pertaining to that document? To avoid duplications?

  • @leodang00
    @leodang00 2 місяці тому

    Nice, can you build full stack SaaS AI project using n8n, Nextjs, Supabase and Lemon Squeezy as subscription payment gateway? It's gonna be huge. Some projects like PhotoRoom Clone, ChatPRD Clone, with credit system for multi pricing plans will be awesome

  • @javierfuentesmora1814
    @javierfuentesmora1814 2 місяці тому

    Hey, what about returning the documents that it used for the answer? I have, for example, in the metadata the URL of the document, and I put it in the instructions, but it is not working, I see that the Pinecone store receives the metadata, but it looks like it is lost in Vector Store Stool, do you know how to do it?

  • @Otmanex
    @Otmanex 2 місяці тому

    How about creating an advanced chatbot that acts like an RPG game, with variables to keep progress, long term memory and rag to store information such as items list, world info?

  • @devoiddesign
    @devoiddesign 2 місяці тому

    Hello, I seem to always have a cors error when adding these chat bubbles onto my site. no matter if its n8n or Make or Flowise, i can never get past this cors error. Am i missing a step?

  • @danijaguar
    @danijaguar 2 місяці тому

    i just wanna say, i love you man. you are a fucking master!

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

    Can we make RAG Voicebot for cold calling in n8n?

  • @canybals7315
    @canybals7315 10 днів тому

    hey man im trying right now to do it step by step, and i have run into a problem witch says that i exceeded the plan, its because of the new plans they made with openai?

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

      I'm guessing you're using OpenAI. You might be out of credits

  • @Cunha-r9e
    @Cunha-r9e 16 днів тому

    sorry... another thing. Why sometimes the AI Agent didn´t use Tools (Vector DB)? I create the same that you but the AI Agent isn´t using the Vector DB. All my messages are being answered by GPT only

  • @wilsoncheng6134
    @wilsoncheng6134 2 місяці тому

    Hello Leon, can you share the Word Doc and menu, then I can try to buy the same RAG Chatbot

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

      Hey man, I actually simply used ChatGPT to generate a QA document for a fake restaurant 😊

    • @leonvanzyl
      @leonvanzyl  2 місяці тому

      Hey man, I actually simply used ChatGPT to generate a QA document for a fake restaurant 😊

    • @wilsoncheng6134
      @wilsoncheng6134 2 місяці тому

      @@leonvanzyl good idea

  • @massimosarzi
    @massimosarzi 2 місяці тому

    Thank you for your great tutorials! I don't understand why, if I upload 3 files in my Google Drive folder, this agent only downloads the last one I uploaded, not all the 3 files.

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

      Whoops. I mostly used this solution to add files ad-hoc, but I think you're right. If you load multiple files at once, the solution might only grab the last file uploaded.
      You could adjust the solution slightly to load all files in a given folder when there's a change, and clear the index before doing so.
      Darn, it's always hard to create a "one size fits all" solution in these tutorials without making them hours long 🤣.

  • @saileshr1971
    @saileshr1971 2 місяці тому

    Hi Leon,
    I seen your AI video's, it's Awesome.
    I could like to connect with you regarding the project support. Please let me know you availability. So we can connect and discuss further.

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

    Hi, could you please make a rag for JSON file , I tried to find any help on how to chat with JSON file , but there's nothing, thanks again

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

      Ok, will see what I can do.
      Does the recursive character splitter not work for you? What's the issue that you're experiencing?

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

      @leonvanzyl
      Hi
      It can't make the vector data based for JSON file with around 100 records and with the small ones it makes but I can't find any info
      Thanks again 5:06

  • @ronaldogomescarvalho
    @ronaldogomescarvalho 2 місяці тому

    Which is better, using N8N with Flowise or just using N8N?

    • @juanignaciocolella5665
      @juanignaciocolella5665 2 місяці тому

      I have the same question, should we combine flowise with n8n or n8n can replace and expand flowise ???

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

      I like to combine the two actually.
      Use n8n for the automation functionally, and Flowise as the AI Builder.
      You can call Flowise from n8n using the HTTP node.
      I will be creating tutorials on this 👍

    • @T33KS
      @T33KS 2 місяці тому

      ​@@leonvanzyl I was using this approach, but calling Flowise via http needs around 5 to 6 seconds to come back with a response.
      I'm your opinion, are there really any benefits of using Flowise if you can set up your RAG flow using n8n?

  • @ramonlansangan7307
    @ramonlansangan7307 2 місяці тому

    Whats difference between n8n and flowise?

    • @leonvanzyl
      @leonvanzyl  2 місяці тому

      n8n is a workflow automation tool, whereas Flowise is an AI App builder.
      You can use n8n to create workflows that are triggered by events, and it also offers simple integration with hundreds of 3rd party apps.
      n8n also offers some AI capabilities, but it's really not their focus point.
      Flowise on the other hands offers plenty of features for building super advanced AI workflows.
      It's extremely common to combine n8n and Flowise to build an end-to-end application.

  • @paulvincent6262
    @paulvincent6262 2 місяці тому +1

    Fantastic! I've been looking for a simple way to add a basic Q&A chatbot to our website to distill lots of Policy and Guidance notes for our students to refer to. The Open AI Assistant we were using worked well but with all the docs uploaded was costing several dollars per conversation whereas the same conversation is costing single digit cents through your approach! Our next step is attempting to use functions to fetch specific data from a student db based on match of their Google auth credentials. Not yet sure whether it's possible yet through n8n but would be great to see a tutorial on this as well. Many thanks for this Leon! 🙏

  • @Blooper1980
    @Blooper1980 2 місяці тому +1

    First!

    • @leonvanzyl
      @leonvanzyl  2 місяці тому

      Darn, you even beat me 😝

  • @wmsaraiva1965
    @wmsaraiva1965 2 місяці тому

    wow!!!

  • @MatichekYoutube
    @MatichekYoutube 2 місяці тому

    Hm, the prblem could be that upsert happends every tiem - and vector store just keep growing ..

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

      The document will only be added once to the Vector Store, when the file is added to the Google Drive.

    • @MatichekYoutube
      @MatichekYoutube 2 місяці тому

      @@leonvanzyl yes, I was testing "when the file is updated" - and then it is upserted again. I wonder how we would solve , if file is updated.

  • @DesignDesigns
    @DesignDesigns 2 місяці тому

    Thank you so much.....

  • @robertsepp4546
    @robertsepp4546 2 місяці тому +22

    aitutorialmaker AI fixes this (AI driven Tutorials). Create RAG chatbot using n8n

  • @iramdeep8964
    @iramdeep8964 2 місяці тому

    Hello Sir
    I am from Pakistan
    Please mention that is it free to use all these or wo have to buy anything, like keys?

    • @leonvanzyl
      @leonvanzyl  2 місяці тому

      I do mention this in the video. I'm using OPENAI, which is not free (but super cheap).

    • @iramdeep8964
      @iramdeep8964 2 місяці тому

      @@leonvanzyl sir you answered me, it is really awesome for me.
      Please use some which is free for practice, as students cannot afford.

  • @seataoolover
    @seataoolover 2 місяці тому +1

    noticed that the ai are not consistent in repeated runs probably openai is the only perfect one for it

    • @MatichekYoutube
      @MatichekYoutube 2 місяці тому +2

      I noticed if answers are not consistent - you can use larger chunks - try 800 chunks with overlap 400.

  • @Joooooooooooosh
    @Joooooooooooosh 2 місяці тому

    It's really a terrible platform for this. It abstracts too much. Gives you virtually no control over the serialization and tool selection. The prompts generally only work with OpenAI because of the fact that different models have different (and strict) formats for how they want to see the schemas.

    • @leonvanzyl
      @leonvanzyl  2 місяці тому

      You should try Flowise if you want more control of the AI side of things.
      I like using Flowise for the AI logic, and n8n for the automation bits.

  • @timothytomkins
    @timothytomkins 2 місяці тому

    Ok nicely presented. but oh how TRAGIC that there are SO MANY MANY MANY MANY STEPS (!!!!) in accomplishing something that fundamentally can and should be achieved in just a few clicks. ie "Here are the folders containing things to be vectorized, and to be refreshed regularly. NOW GO!". ok post implementation tuning would be expected.. but the complications in just getting started is ridiculous! Come on n8n.. you can do better than this!

    • @leonvanzyl
      @leonvanzyl  2 місяці тому

      You might be interested in my series on VectorShift then. It offers automation capabilities like n8n, but the Knowledge Base solution is exactly as you just described.