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

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ธ.ค. 2024

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

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

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

  • @alvinmoore6775
    @alvinmoore6775 ชั่วโมงที่ผ่านมา

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

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

  • @krisszostak4849
    @krisszostak4849 2 หลายเดือนก่อน +1

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

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

      Much appreciated!

  • @carlosf3421
    @carlosf3421 23 วันที่ผ่านมา

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

    • @leonvanzyl
      @leonvanzyl  23 วันที่ผ่านมา

      You're welcome 🤗

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

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

      Great to hear 💪

  • @Mcmarshdzwimbu-ht2md
    @Mcmarshdzwimbu-ht2md 22 ชั่วโมงที่ผ่านมา

    we love youuuu leeon

    • @leonvanzyl
      @leonvanzyl  19 ชั่วโมงที่ผ่านมา

      Love is in the air it seems 😅

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

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

    • @tmcgann
      @tmcgann 28 วันที่ผ่านมา

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

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

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

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

      You're welcome 🤗

  • @santi-leoni
    @santi-leoni 2 หลายเดือนก่อน

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

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

      Thank you 🙏

  • @leonardosoaresdeoliveira7124
    @leonardosoaresdeoliveira7124 6 วันที่ผ่านมา

    Thanks for your tutorial! Helped me a lot.

    • @leonvanzyl
      @leonvanzyl  6 วันที่ผ่านมา

      You're welcome 🤗

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

  • @user-uv3nv2bc6v
    @user-uv3nv2bc6v 2 หลายเดือนก่อน +1

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

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

      Thanks, will do!

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

    As always, the best and most useful videos on youtube

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

      Thank you 🙏.

  • @SparkOfThoth
    @SparkOfThoth 8 วันที่ผ่านมา

    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.

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

    Congratz Leon! Nice Tutorial Video! 👏👏👏

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

    You are a genius! Many thanks Leon

  • @yahyaal-salman702
    @yahyaal-salman702 หลายเดือนก่อน

    you are the best youtuber ever, thank you

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

      Thanks 😁

  • @alpaykasal2902
    @alpaykasal2902 21 วันที่ผ่านมา

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

    • @leonvanzyl
      @leonvanzyl  21 วันที่ผ่านมา

      You're welcome

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

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

    Another awesone video Leon Thank you

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

      Very welcome

  • @AyS-kj4ok
    @AyS-kj4ok 6 วันที่ผ่านมา

    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?

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

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

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

      Will do 👍

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

  • @JohnDoe-n8s
    @JohnDoe-n8s 17 วันที่ผ่านมา

    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  16 วันที่ผ่านมา

      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.

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

    Really nice! Very thank for share 🙏

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

      You're welcome 🤗

  • @Cunha-r9e
    @Cunha-r9e 9 วันที่ผ่านมา

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

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

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

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

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

      You're welcome 🤗

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

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

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

    First off, I have to say that you do the best tutorials of any I find on TH-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.

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

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

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

  • @오늘만-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?

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

    Amazing videos, thanks for this work !

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

      My pleasure!

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

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

  • @GCPTraining-o9o
    @GCPTraining-o9o 2 หลายเดือนก่อน +1

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

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

    Very usefull!
    Thank you for sharing 👍

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

      My pleasure 😊

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

  • @부기-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?

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

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

    Great demo..thanks

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

      You're welcome

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

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

  • @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! :)

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

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

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

      Ada is an older model.

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

      @@leonvanzyl Ok, I see. Thank you.

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

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

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

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

    It is amazing that n8n is free to use

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

      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.

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

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

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

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

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

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

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

    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?

  • @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! 🙏

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

      Thanks Paul!

  • @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🤩🥳

  • @RobertVirona-l8i
    @RobertVirona-l8i หลายเดือนก่อน

    demasiado bueno, gracias

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

      Thank you ❤️

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

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

    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?

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

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

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

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

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

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

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

  • @boructomek
    @boructomek 4 วันที่ผ่านมา

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

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

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

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

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

    Can we make RAG Voicebot for cold calling in n8n?

  • @canybals7315
    @canybals7315 3 วันที่ผ่านมา

    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  3 วันที่ผ่านมา

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

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

  • @Cunha-r9e
    @Cunha-r9e 9 วันที่ผ่านมา

    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

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

  • @Blooper1980
    @Blooper1980 2 หลายเดือนก่อน +1

    First!

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

      Darn, you even beat me 😝

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

  • @robertsepp4546
    @robertsepp4546 2 หลายเดือนก่อน +22

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

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

      Fixes what?

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

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

      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.