Run ALL Your AI Locally in Minutes (LLMs, RAG, and more)

Поділитися
Вставка
  • Опубліковано 31 січ 2025

КОМЕНТАРІ • 956

  • @ColeMedin
    @ColeMedin  3 місяці тому +27

    Follow up video here for deploying this to the cloud!
    ua-cam.com/video/259KgP3GbdE/v-deo.htmlsi=nUt90VMv63iVMQMe

    • @PathLink-fk3cp
      @PathLink-fk3cp 3 місяці тому +1

      That timing though....Sweeeeet! Thank you!

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

      Wait can't you make postgress upcert? Or at least add a step to query that? Google Drive has versioning itself doesn't it surely you could pass a conditional?

    • @StuartAtkinson4467
      @StuartAtkinson4467 22 дні тому +2

      Ignore me you literally go on one second later to show code clearing the ingested file haha

  • @jake-watkins
    @jake-watkins 2 місяці тому +30

    Awesome video. I'm grateful for the work done.
    A few notes for Mac users -
    1 - install Ollama locally and setup it up separately. The docket compose won't do that for you.
    2 - inside n8n you'll have to change the connections to Ollama to point to the instance running baremetal. That means you can't use localhost. you have to use your hostname instead.
    3- setting up the google project is a PITA, but follow n8n's directions exactly and it'll work. The last punch in the nards is that you have to make your google account a tester for the app you setup and then when you setup the google drive account connection in n8n you have to connect and grant it permission to access your google drive. It's a PITA.
    All that said: great work Cole. Keep it coming!

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

      Thank you very much and I appreciate your notes here!
      For #2 you can also use "host.docker.internal" to connect to your machine from the container. So Ollama for example would be host.docker.internal:11434

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

      Thank you both very much. Jake is it running smooth on a mac through all these containers?

    • @andrew-i9e1b
      @andrew-i9e1b 25 днів тому

      inside n8n you'll have to change the connections to Ollama to point to the instance running baremetal. That means you can't use localhost. you have to use your hostname instead. how do you do this please is it a terminal thing or file change?

    • @titememe
      @titememe 21 день тому

      For real, the right information is what we need to be successful in life. I believe that the benefits of successful trading come from an expert and that is why I made huge profits in crypto with the help of Mrs Hana Christina, she is a genius and that is why I always advise beginners to trade with professionals like her.

    • @iade17
      @iade17 21 день тому

      she is not on youtube , Tried responding to you but youtube has been on a hyper deletion spree with me today, she is on TG

  • @datpspguy
    @datpspguy 4 місяці тому +8

    By far the best tutorial and overview on Local RAG and also dropping gems on the little improvements you've made from the original repo. Workflow is amazing too!! One of my ideas is playing some of older rpg's back in the day on the steam deck but with less time that I have now for other priorities, its nice to just query the walkthrough docs and ask where to go next etc.

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

      Thank you very much man, I appreciate it a ton!
      And that's a super fun and unique use case - I like it!

  • @mathieud4770
    @mathieud4770 3 місяці тому +6

    I'm not a developer, so figuring this out still feels like a big step for me, but you've done an outstanding job here anyway!

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

      Yeah I get it! I'll be continuing to put out content to make it even easier to digest! Thank you though 😃

  • @ifnotnowwhen2811
    @ifnotnowwhen2811 4 місяці тому +63

    Cole, you’ve done an outstanding job! Your videos consistently make complex topics clear and easy to follow, which is a rare talent. I appreciate how you break down each concept, making it accessible for viewers at all levels. Your teaching style not only engages but also inspires confidence in learning.
    I’m eagerly anticipating your next iteration. It’s always exciting to see how you evolve your content and introduce new ideas. Keep up the fantastic work, and thank you for sharing your knowledge with us!

    • @ColeMedin
      @ColeMedin  4 місяці тому +5

      Thank you very much!! I really appreciate the level of detail in your kind words - it means a lot to me to know that my work is noticed in such a thoughtful way and that I'm hitting my target of breaking down complex topics well!

    • @ruukes4770
      @ruukes4770 4 місяці тому +5

      @@ColeMedin Yes indeed! You explain topics with such a good flow between ideas and concepts that rivals that of other popular tech youtubers such as Networkchuck, Linus Tech Tips and Christian Lempa

    • @ColeMedin
      @ColeMedin  4 місяці тому +1

      Wow that means a lot - thank you!!

    • @Hatch3dLabs
      @Hatch3dLabs 4 місяці тому +1

      I have to agree. Literally just getting started with local AI. Was about to skip past this video and thought, maybe it’s something I can use that I didn’t know existed. BAM! This video is going to be my beginning into what my vision is for my local AI. Really appreciate you made this understandable!

    • @ARGOXARK
      @ARGOXARK 4 місяці тому

      ​@@Hatch3dLabs the author tells well, and help me understand more clearly. I am getting started too, what tool are you using? I'm using xark-argo/argo on github, it's simple to install on Mac and Windows, what about you? I'd like to keep in touch for more learning.

  • @SkipperChuck42
    @SkipperChuck42 Місяць тому +4

    This is awesome work, Cole. I actually found a later video first then came back to this one. Still tinkering with models as to what I want to use, especially since there seems to be an issue with many of the ollama models being able to work with tools. Looks like they're working on that, though. One suggestion, if you are able to do so, would be to take the videos for this and put them into a playlist in the order they should be viewed. Trying to figure out which one comes next and I feel like I'm bouncing all over your channel. Granted, all good stuff and I plan on getting through all of it, but would be helpful to follow in the order you think would be the most efficient. Rock on, brother.

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

      Thanks for the kind words and the suggestion! That's one of the big things I'll be working on actually going into this new year - organizing my videos together into better playlists and also creating a sort of "mind map" for my channel with all the different content I'm putting out!

  • @dineshbabu6720
    @dineshbabu6720 4 місяці тому +7

    This is a very good step-by-step tutorial. Following the instructions in this video will get you started with local AI. For people trying M1 and above, the ollama must be installed separately, and the rest are the same.

    • @ColeMedin
      @ColeMedin  4 місяці тому +3

      Thank you Dinesh, I appreciate it a lot!!
      Could you clarify why Ollama needs to be installed separately for M1 and above?

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

      @@ColeMedin If you want to use GPU/NPU-accelerated LLM rather than CPU on Apple Silicon (which doesn't have either AMD or Nvidia GPUs), you'll need the actual Ollama desktop app on your host Mac and pull the models from there rather than using the Ollama container in the docker compose file. That's why in the Quickstart they call for starting the Docker compose stack without a profile - it doesn't even start the Ollama container. Docker will still be able to reach Ollama using the docker internal hostname, but you'll get much faster processing using the Apple Silicon GPU and NPU (what pieces are accelerated depend on what the Ollama team have done with the app over time). It took me a few minutes to figure it out, but once I did it works just fine.

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

      @@scottstillwell3150 Ok, but how does the rest have to be configured? I tried, but the whole n8n workflow seems to be broken.

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

      @@scottstillwell3150 Since I could not open the credentials, I tried to setup new ones. They say they could connect, but I am not able to use the ollama node in the demo workflow. It can't fetch any models. This is super confusing.

  • @rbp365
    @rbp365 3 місяці тому +4

    Genius, this is like a “medior ai engineer” tutorial video if someone builds the same thing then tweaks it to make a unique llm app out of it. I think a lot of companies would appreciate their engineers to know all this

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

      Thank you and yeah I agree! Definitely would take some tweaks to make this fit a specific use case, but it's a good start for sure!

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

    Thanks

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

      Thank you so much for your support, it means a lot! :D

  • @jordon7999
    @jordon7999 4 місяці тому +11

    man.. just dropping casual double entendres as hole references? that’s an instant sub

    • @ColeMedin
      @ColeMedin  4 місяці тому

      @@jordon7999 Haha I appreciate it Jordon! 😂

    • @BlackLitProductions
      @BlackLitProductions 8 днів тому

      @@ColeMedin Question:
      What should I do if Ollama doesn’t complete its installation and exits in the terminal? When I check Docker, the image isn’t running.

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

    Hi Cole great work, I like it :-) and I just want to add that while running everything on linux the postgres-host-adress is simply the one stated in the compose file (postgres). Keep up the great work.

  • @nwokobia
    @nwokobia 4 місяці тому +3

    Outstanding work, Cole. Love it. I will implement it today. Looking forward to more of your excellent content. You are not verbose, just straight to the point and deliver value to boot. Thank you!

    • @ColeMedin
      @ColeMedin  4 місяці тому

      Thank you very much - your kind words mean a lot to me! 😃

  • @LuisYax
    @LuisYax 4 місяці тому +17

    The removing of the vectors records, when reimporting and updated file fixed a lot of my problems. Thanks for the help. U da man!

    • @ColeMedin
      @ColeMedin  4 місяці тому

      Seriously glad I could help, thanks Luis!!

    • @EG-1969
      @EG-1969 2 години тому

      @@ColeMedin I was actually wondering if one discovers the existing vectors, could we just not bother with deleting them but skip uploading the replacement ones? Or do we not have confidence something in the file hasn't changed?

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

    15:20 this is truely the most important part of the logics. It's absolutely necessary to have a function in order to handle contingency regarding file duplicates

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

      Indeed! This part of the workflow definitely took the longest but I wanted to include it because I totally agree it's super important to have.

  • @georgechen1124
    @georgechen1124 Місяць тому +2

    Love your tutorial, bro! Straight to the point with intuitive, precise instructions.

  • @alexlanders781
    @alexlanders781 4 місяці тому +5

    I'm excited to see you extend this! Working Supabase into this flow for authentication, etc would be incredible. Awesome video bro!

    • @ColeMedin
      @ColeMedin  4 місяці тому +1

      Thank you Alex, I appreciate it a lot!! I'm stoked to extend this, so that won't be happening too far in the future 😎

  • @PixelKind-k4y
    @PixelKind-k4y 2 місяці тому +1

    Hi Cole, thanks for your work. Got it running last night locally on my Mac Book Pro with 128 Gigs of ram - looking forward to playing with this workflow. More videos about this would be appreciated! :)

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

      You bet! Nice!
      Yeah I am actually creating more content around this local AI package next week!

  • @damadorpl
    @damadorpl 4 місяці тому +47

    You can use also Postgress with pgvector instead of Qdrant

    • @ColeMedin
      @ColeMedin  4 місяці тому +18

      Yes definitely!! I love using pgvector so I'm 100% behind you there.
      I focused on Qdrant in this video just to show the entire package, but often times using less services (so using Postgres both for chat memory and RAG) can be the way to go if you find it works well for your use case.

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

      ​@@ColeMedinthat was my question answered 😅 simplified the stack, if you get it to work with supabase you have all the db you need for different functions in this pipeline

    • @OccamsPlasmaGun
      @OccamsPlasmaGun 4 місяці тому

      Is pgvector still a couple orders of magnitude slower?

    • @xamael1989
      @xamael1989 4 місяці тому

      My point exactly

    • @igor-the-software-engineer
      @igor-the-software-engineer 4 місяці тому

      @@ColeMedin and don't forget about Apache AGE for PostgreSQL!

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

    There are some real gems in here. Thanks for sharing everything!

  • @HermanRas
    @HermanRas 4 місяці тому +3

    Thank you sooo much.. I had to change the document import a bit to work with local network shares for my company but it works .. SO GOOD.
    The deleting of documents already in the system before adding more is really important, ** I cant wait for your front end video **

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

      My pleasure!!
      I'm curious - what exactly did you have to change for local network shares? I'm glad it's working great for you!
      I can't wait to add the frontend into this setup - I appreciate you calling that out :)

    • @HermanRas
      @HermanRas 4 місяці тому +1

      @@ColeMedin I am happy to do a short clip on YT showing the local file import change, we are a large mining house and have hundreds of policies "PDF" now you can ask the AI assistant to compare policies from different operation / counties and highlight inconsistencies, or to find the one relevant to you or just to summarize the content to get you up 2 speed.. will reply with a link to the clip :)

    • @ujoerk
      @ujoerk 4 місяці тому

      @@HermanRasthis would be great! Having the same Point here. Have to Observe a local unc for new and Updated pdfs and markdowns to Feed the rag

    • @ColeMedin
      @ColeMedin  4 місяці тому

      That sounds awesome, I look forward to it!

    • @danwahn
      @danwahn 4 місяці тому

      @@HermanRas Any news on your video? We have a local file share with thousands of documents and I wonder how they could be added.

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

    Dear Cole, best regards from MX, you share great content and communicate great passion for your work

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

      Thanks a bunch, I'm glad it's hitting the mark!

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

    Great work Cole. I plan to set up RAG for my business as I’ve followed RAG developments for about a year. Things have come a long way. I plan to model your work and would like to connect to Supabase since I plan to use for some of my other App work.

    • @ColeMedin
      @ColeMedin  4 місяці тому +1

      Thank you and good luck! Are you planning on hosting Supabase yourself or using the cloud offering? Either works great!

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

    Local is a good start. As a practical application, I think a good project would be to distribute the containers and have a login system for businesses.

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

      Yes I definitely agree! Wish I could cover that here without making the video way to long, but I will be making content on this kind of thing in the future!

  • @agsvk-com
    @agsvk-com 3 місяці тому +3

    Yes, would love to see setting like Redis caching, supabase auth, next.js project, stripe payment system to have some template for a Saas. God bless you

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

      Thank you for the suggestion! It'll be a larger project to get a video for all of that but I am planning exactly that!

  • @matthiash.2084
    @matthiash.2084 Місяць тому +1

    I really appreciate your videos. Having the right details with the right level of depth. Perfect.
    What i personal like to do is following your videos and other - rebuilding what I've seen.
    One suggestions for people like me and this case; i needed to go into the repo and revert your newer flowise stuff (Going into it later, but not sure if i really need it).
    Can you refere in your description to the commit or branch which covers the compose and examples you used especially in this video?
    People get confused, if they see other stuff on the files than in the video. :)

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

      Thank you very much and I appreciate the suggestion a lot! I will definitely start doing this.

  • @fronix5060
    @fronix5060 4 місяці тому +246

    Should be illegal to use github in lightmode

    • @BulletProof-n7n
      @BulletProof-n7n 4 місяці тому +5

      I've noticed a trend going on with that. There's not enough argument been made to convince me to go bright.

    • @ColeMedin
      @ColeMedin  4 місяці тому +10

      Haha touché 😂
      I generally prefer dark mode in every app I use, honestly not sure why I'm using light mode for GitHub still!

    • @reegyreegz
      @reegyreegz 3 місяці тому +4

      ​@@ColeMedinheathen!

    • @sCiphre
      @sCiphre 3 місяці тому +9

      Light mode is objectively better if you're working during the day. The brain needs a bright day to work well, sitting in the dark is quite counter productive.

    • @reegyreegz
      @reegyreegz 3 місяці тому +4

      @@sCiphre well thats a bunch of nonsense. Im most productive at night when everyone is asleep.

  • @Hydrawindforce
    @Hydrawindforce 4 місяці тому +1

    This is the best example I have seen for the Local AI Agent and Rag

    • @ColeMedin
      @ColeMedin  4 місяці тому

      Thank you - that means a lot to me!

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

    Open Web UI is still the best and cleanest implementation I've seen.

    • @ColeMedin
      @ColeMedin  4 місяці тому +7

      Yes I am actually planning on potentially including Open Web UI in this stack as I expand it!

    • @ystrem7446
      @ystrem7446 4 місяці тому +3

      @@ColeMedin yes please :)

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

    This looked great, right up to the point you try to access the web interface and you find you can't proceed until you have made an account with n8n. I must have missed where that was shown in the video.

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

      Oh you don't have to make an account with n8n! That is just a local account for your n8n instance!

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

    Thank you for this special episode. I subscribed because of this

    • @ColeMedin
      @ColeMedin  4 місяці тому

      @@acs2777 My pleasure, thank you very much!! 😊

    • @BulletProof-n7n
      @BulletProof-n7n 4 місяці тому

      Me too. Thank you. You help my battle with Boomer tendencys😊

  • @shawnhank
    @shawnhank Місяць тому +2

    Nicely done, Cole.
    I was running into various errors like authentication issue when trying to pull the ollama-cpu Docker image. This error suggests that Docker is unable to authenticate with Docker Hub using the provided credentials. Here are the likely causes and solutions:
    To fix, i needed to login to docker from the command line using my docker hub username and access token.
    docker login -u your_username
    When prompted for password, enter the access token instead of your account password
    Then run:
    docker compose --profile cpu up
    No errors and all images were being pulled down.

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

      Ah that is really helpful to know, thank you for sharing your solution!

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

      Hi! Could you, please, be more explicit when it comes to access token? Does it mean the N8N_Encryptio_Key or N8N_User_Management_JWT_Secret in the .Inv file?

  • @vexy1987
    @vexy1987 4 місяці тому +13

    First off, amazing work, I'm puzzled why you chose to use google drive if the aim is to be local? I'll be using your workflow as inspiration for local files, not knowing n8n, can it work with local files/folders? lets hope I can get it working! Thanks for sharing.

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

      Thank you very much!
      And that is a really fair point! I have worked with businesses in the past where they wanted a local AI solution, but they were fine storing sensitive information in Google Drive. The biggest concern is more sending their data into a cloud LLM that will be trained with it. In the end, cloud storage is just so convenient that almost no one wants to store all their files locally (on something like a NAS box) even if it's sensitive data. So that is why I consider this setup fully local even though it uses Google Drive.
      If you do want to work with local files, n8n can certainly do that! I would check out the local file trigger for n8n:
      docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.localfiletrigger/

    • @ismailiraquihoussaini6694
      @ismailiraquihoussaini6694 4 місяці тому +1

      ​@@ColeMedinthanks for your work ! Is it possible to add the local trigger on top of the google drive one ?

    • @YTQuei
      @YTQuei 4 місяці тому

      This is exactly what i need ❤ please, please, please do a short clip on how to do this with local or files stored on a share!

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

      What was the comment by Cole? Why has it been deleted?

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

      @@MustRunTonyo Honestly I'm not sure how my comment got removed! UA-cam says it is there still but when I try to view it I don't see anything.
      All I said was Google Drive is generally considered "safe" to store company data. Numerous businesses I work with have sensitive data there even though they want to run LLMs/RAG locally for privacy. Of course it's up to each business to determine if this is really the case for them!
      However, I am looking into using the local file triggers in n8n to make this setup entirely locally! I will probably be making content on that in the near future!

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

    Something I'd like to see is building in mixture of agent frame works and tool use and an actual chat interface. This is a great start and that is exactly what I'm going to start working on lol

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

      I love it! Mixture of agents is definitely something I'm going to be diving more into in the near future.

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

    Thank you for putting lot of time to simplify for learners. Great work!

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

      You bet, thank you!

  • @keith_carmona
    @keith_carmona 4 місяці тому +6

    Great stuff. I find your videos and explanations very easy to follow. Can you put up a tutorial on how to get Ngrok or Traefik working on this install to get webhooks working properly? I can't seem to get either working in Docker Compose at the moment in the self-hosted environment.

    • @ColeMedin
      @ColeMedin  4 місяці тому +7

      Thank you Keith! I'm glad you find my videos easy to follow, that is one of my main goals!
      Yes, this is another one of the extensions I want to make with this package - getting a domain set up so this can be hosted in a cloud instance with a reverse proxy! Not set on the specific tool for that yet but Ngrok is one I was considering! Haven't used Traefik before myself actually.
      What is the issue you are running into with Docker Compose?

    • @keith_carmona
      @keith_carmona 4 місяці тому

      @@ColeMedin I just could not get Ngrok working on the free domain they offer on the free tier. I kept getting error messages and was trying to troubleshoot for a few hours before i just gave up. I have not had to use webhooks yet, but i know that would greatly improve the functionality. I also saw that someone else was asking n8n directly about how to get webhooks working in the self-hosted-ai-starter-kit and n8n said it was still something they have not quite worked out. Glad you put this tutorial together. i might uninstall by current self-hosted-ai-starter-kit installation and start off with your build. I did not know about the postres login that needed to be created, so i had followed one of your other tutorials and had a rag ai agent set up using Supabase for the chat history and vector store. I was using Ollama with llama 3.1 and i was having issues with the embeddings, so this newer tutorial is great. Once again, i really appreciate what you are doing here. Your tutorials are giving me some inspiration to build some real world tools.

    • @ColeMedin
      @ColeMedin  4 місяці тому +1

      Thank you for the kind words Keith, they mean a lot!
      That's strange n8n would say the webhooks wouldn't work in the self-hosted setup. I'm pretty sure I can get those to work 100%, I will be diving into that and will include that in my video I'll put up in the near future where I show how to host this whole setup remotely!

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

    Outstanding Bro I was looking for this solution !!!! since long months

    • @ColeMedin
      @ColeMedin  4 місяці тому

      Awesome man, I'm glad I could help!!

  • @Rocket33r
    @Rocket33r 3 місяці тому +4

    My issue at the moment is I believe I followed all the steps, but I am unable to connect to the Postgres account. I get an error saying password for user "root" failed. I tried the default 'password' and also the one I set in Visual Code Studio whilst following along with your steps, but neither work.

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

      Dang sorry you're running into that! What URL (host) are you using for Postgres?

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

      @@ColeMedin Thank you for replying, the 'Host' is 'host.docker.internal'.

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

      for the host don't use host.docker.internal ... use the name of the running postgres container, in my case it was "postgres-1" .... hope it helps ;)

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

      @@sebastianvesper7858 Thanks for the tip. I tried changing the host to "postgres-1" (since this is also the name for the container in docker desktop), but the error remains the same.

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

      I had same problem. Go to docker config for for your container and read DB_POSTGRESDB_HOST variable, copy it to host and that should work :)

  • @TheCommons-ai
    @TheCommons-ai Місяць тому +2

    Thanks, Cole! I've been building with Neo4j to create an evolving (meaning-structure) GraphRAG knowledge base with a similar Google ingestion -- all in Python. Tying in neo4j for GraphRAG (in N8N??) would streamline AND localize. Thanks again. Awesome!

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

      You bet! That's super cool!

  • @shubhamkashyap3762
    @shubhamkashyap3762 4 місяці тому +3

    Thanks for the video, amazing content
    Not sure on how I can use this in production, will I need a powerful VM with good GPU to run this? I have self-hosted the n8n on ec2 but I am not sure about adding ollama on that instance.
    Looking forward to the self-host on domain video, it will clear a lot of things

    • @jarad4621
      @jarad4621 4 місяці тому

      No this isn't heavy on anything except what llm you get locally , phi3 mini might be best if you can't do llama 3b, you don't want something that's to slow, also there is a small qwen2 and Mistral 7b I'm testing

    • @ColeMedin
      @ColeMedin  4 місяці тому +1

      Thank you very much! I'm glad you enjoyed it :)
      Fantastic question! I really appreciated what @jarad4621 said - it's really only the self-hosted LLM that is heavy. His suggestion of using phi3 mini is great if your EC2 isn't strong enough for a Llama 3.1 model.
      If you want to self-host Llama 3.1 8b, I would recommend a dedicated GPU on your cloud machine with at least 8GB of VRAM. Then at least 16GB of VRAM for Llama 3.1 70b.

  • @alx8439
    @alx8439 4 місяці тому

    Thanks for video. A lot of web ui chat tools compatible with ollama nowadays can now do the RAG just right out of the box. Like Open Web UI. Auto triggers part with n8n is a good one, if you need to automatically process a lot of documents.

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

      Thank you and fair point! I am actually looking into Open Web UI and will be doing a video on it in the near future. Awesome platform 🔥

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

    i want to build a system for my homelab for playing with AI and LLMs. Who has some suggestions on suitable hardware specs for decent performance?

    • @ColeMedin
      @ColeMedin  4 місяці тому +1

      Great question! Generally for an at-home LLM setup you'll want a graphics card with at least 8 GB of VRAM (for models like Llama 3.1 8b), 16GB of VRAM is even better if you want to run models like Llama 3.1 70b. So an RTX 3090 graphics card is a good starting point!

    • @Airbag888
      @Airbag888 4 місяці тому

      Any hope with amd? I have a spare 6700xt

    • @ColeMedin
      @ColeMedin  4 місяці тому +1

      @@Airbag888 yeah you will be able to run 8b parameter models with that for sure!

    • @Airbag888
      @Airbag888 4 місяці тому

      @@ColeMedin nice.. the question is (as you pointed out in a video) what kind of response times to expect haha... I want to set something up as a 'tutor' for my kids. They're small and I don't want them to be let loose on the internet yet but they're always full of questions and while happy to oblige sometimes I'm busy working

  • @mr-nobodyz-g7q
    @mr-nobodyz-g7q 2 місяці тому +1

    Nice video! As long as it's running locally and documents are safe

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

    Interesting ! I enjoyed your full breakdown, under the hood - thank you. It's a lot of work to re-invent the RAG Wheel, so personally I'm using Spheria AI for my life's knowledge base - full privacy and data ownership... almost same as running on local :)

    • @ColeMedin
      @ColeMedin  4 місяці тому +1

      Thank you! I'm glad you found it interesting :)
      I've actually never heard of Spheria but I checked it out now and it looks awesome! What LLM does Spheria use or which have you chosen to use on the platform?

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

    Totally binging on your content. Setup has been a real PITA, but attacking it one issue at a time. Latest one was it would not accept my embedding model. I had to click out of the ollama embedding step and back to my (your) flow, then load a couple embedding models into ollama from the container command line, then return to my flow and open the ollama embedding. Suddenly I had a drop down letting me select my embedding model and it worked.

  • @SamilOzturk99
    @SamilOzturk99 4 місяці тому +3

    Very useful content. I think if the camera is moved a little lower, your face will be closer to the middle of the frame, and this will create a more balanced angle. Thank you very much.

    • @ColeMedin
      @ColeMedin  4 місяці тому +1

      Thank you and I appreciate the suggestion a lot!

  • @isimageteind1921
    @isimageteind1921 29 днів тому +2

    Great intro video. Some pointers in case you revisit it, and to other nubes trying to follow along. The first time you connect to n8n, you have to create the owner account. It looks like you cloned the n8n example workflow then modified it, but this isn't shown. The credentials/connection string for the database could be emphasized more as this is critical. I tried changing the password and secret keys in the .env file, but had issues with encryption and had to destroy and rebuild the containers and volumes a few times. I would have preferred a local document store rather than google docs - especially since the main driver for using AI locally is to maintain control of your data.

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

      Thank you for the feedback here! I'm making more content on this local AI starter kit in the future and I'll be sure to keep this in mind. Especially for the credentials and focusing more on that.

  • @jarad4621
    @jarad4621 4 місяці тому +3

    Something j can actually finally use thanks ❤

    • @ColeMedin
      @ColeMedin  4 місяці тому

      Thank you Jarad, that means a lot! :)

  • @Asparuh.Emilov
    @Asparuh.Emilov 2 місяці тому +1

    This is absolutely awesome! Amazingly useful! Thank you so much bro! Amazing job! 🙌🙌

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

      Thank you so much!! :D

  • @fab_spaceinvaders
    @fab_spaceinvaders 4 місяці тому +3

    excellent video

    • @ColeMedin
      @ColeMedin  4 місяці тому

      Thank you very much!

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

    Your doing a great job keep making content much appreciated ....i have some amazing ideas but unfortunate dealing a shitty computer phone n lack of the 5 months spent know i realize why i struggled so hard ...so i thank you for clear explanations.....if u can help be so grateful or anyone their as soon can enough or hit streets and hustle im buying anew computer cheers everybody

  • @horrorhotel46290
    @horrorhotel46290 4 місяці тому +11

    You NEED to put a list of the HW you're running and an approximate speed you're achieving in the video description, or no one is goung to bother trying this

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

      Fair enough! I will add something to the description now!

  • @biggav88
    @biggav88 14 днів тому +1

    Dope video. We need more

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

      Thank you! A lot more coming soon! :)

  • @ajaykumar-rh2gz
    @ajaykumar-rh2gz 4 дні тому +1

    Amazing work

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

    Thank you for reminding me of this! Keep to this type of content for the people who want to benefit with our own offline AI ventures!

    • @ColeMedin
      @ColeMedin  4 місяці тому

      Of course! And I will certainly be sticking to this type of content!!

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

    Thanks Cole! This is pretty amazing!

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

      You bet! Thanks man! 😄

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

    Great job, bro!

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

      Thank you! I appreciate it!

  • @mydetlef
    @mydetlef 4 місяці тому +1

    Thanks for sharing this - it is a good starting point for my needs.

    • @ColeMedin
      @ColeMedin  4 місяці тому

      My pleasure! I'm glad you can take this and run with it!

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

    Thanks for doing all this work! Huge help!

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

      You are so welcome!

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

    Amazing tutorial that taught me a lot about RAG systems. Just disappointed that the results pulled from RAG are really shitty in my test cases. Maybe I need to setup the qdrant database differently.

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

      Thanks Tom! The results depend a lot on the LLM you are using, so if you aren't getting the best results the first thing I'd try is using a larger model. Then messing with how you are storing things in Qdrant after that.

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

    I have been trying to make Llam3.1 work using llama-stack but felt it was too complicated or still unfinished. Docker and Postgres? Oh yeah, this one sounds more like it for me! Subbed.

  • @EkoPranotoKoPra5
    @EkoPranotoKoPra5 4 місяці тому +1

    Excellent explanation🎉🎉 most answer "why" questions

    • @ColeMedin
      @ColeMedin  4 місяці тому

      Thank you very much!

  • @sydefx-sin3721
    @sydefx-sin3721 Місяць тому +1

    Dude you're awesome!

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

      Thank you so much! 😀

  • @namegoeshere2805
    @namegoeshere2805 4 місяці тому +1

    Thanks for the great videos, man. Got Ollama and AnythingLLM set up last night and I'm checking this out now

    • @ColeMedin
      @ColeMedin  4 місяці тому

      @@namegoeshere2805 Of course!! Let me know how it goes when you give it a shot!

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

    what a brilliant delete chunks trick

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

      hello do you have discord community or reddit? I have a lot question for my workflow :(:(

  • @NikolayMihaylov-p2y
    @NikolayMihaylov-p2y 4 місяці тому +1

    Great video mate ! Thank you for your effort

    • @ColeMedin
      @ColeMedin  4 місяці тому

      Thank you very much - my pleasure :)

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

    really good video. Thanks. Liked and subbed

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

    Cole, I appreciate this video. It is excellent to watch, and I'm learning a lot. I have tried to follow along,but I'm using Linux Mint 21.3, and I'm starting to get a little turned around. Are there any good Linux tutorials you know and feel comfortable sharing?

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

      I was able to find the issue. When running the command "docker compose --profile cpu up", on Linux, the command should be "docker-compose --profile cpu up"

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

      You bet! I'm glad you figured out the issue - thank you for circling back and sharing the solution!

  • @andreasmayer8552
    @andreasmayer8552 21 день тому +2

    Perfect Video, really really good Job ;-) Only Question from me, it is locally except Google Docs, can we do this also with local files? I have tried it, but did not succed. That would be perfect for private data....

    • @ColeMedin
      @ColeMedin  19 днів тому

      Thank you very much! Yes, you can use the "Local file trigger" in n8n to work with local files just like I do with Google Drive!

    • @andreasmayer8552
      @andreasmayer8552 18 днів тому

      @ the trigger worked, but not the file and folder id,… how to load it… sorry, big beginner here

    • @ColeMedin
      @ColeMedin  17 днів тому

      Glad the trigger worked! Since the file is already downloaded to your machine you don't need to download it to extract the text like you do with Google Drive, you can skip straight to the node that extracts the text from the file. Does that make sense?

    • @andreasmayer8552
      @andreasmayer8552 14 днів тому

      @@ColeMedin Deffently makes sense. but still not running. I skipped the old records for the first version, to keep it simple. The Extract Document gehts the file ID and folder ID, but awaits Data, so i think i need a step in between?

  • @ruellago22
    @ruellago22 4 місяці тому +1

    Hi Cole, would love to see your tutorial on how to implement this with Digitalocean.

    • @ColeMedin
      @ColeMedin  4 місяці тому +1

      I will be making a guide in the near future on deploying this all to DigitalOcean! Thank you for mentioning that!

    • @ruellago22
      @ruellago22 4 місяці тому +1

      ​@@ColeMedin There are many existing self-hosted n8n users, and we don’t want to start from scratch. Hopefully, this idea can inspire you to create a tutorial on how to onboard the AI starter kit with an existing DigitalOcean self-hosted setup 🙂

    • @ColeMedin
      @ColeMedin  4 місяці тому +1

      @@ruellago22 Yeah great point! I'm on the same page as you 👍

  • @ylluminate
    @ylluminate 4 місяці тому +1

    Have you looked into how to extend the intelligence by using `o1-preview`, `o1-mini`, `claude-3.5-sonnet`, `4o` and so forth as high-level thinkers/orchestrators that manage many small agents to pull intelligence in and process?

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

      You sir are speaking my language! haha
      I have been experimenting with this a bit with some initial success. I'll almost certainly make a video on this kind of idea in the future!

    • @ylluminate
      @ylluminate 4 місяці тому +1

      @@ColeMedin very exciting. This kind of synergy is where real power lies.

    • @ColeMedin
      @ColeMedin  4 місяці тому

      That's right!!

  • @joesmoo9254
    @joesmoo9254 4 місяці тому +1

    Great content my man

    • @ColeMedin
      @ColeMedin  4 місяці тому

      Thank you very much!!

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

    thx for this awesome details content, once i get my hardware i am going to start \o/

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

      You bet, sounds great!!

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

    Genio total desde argentina te mando un gran saludo y gracias por tu info

  • @QuickZenVibe
    @QuickZenVibe 26 днів тому +1

    This is a fantastic video that will help me optimize the business. I am wondering if some of the following would be possible:
    1. Can I modify this n8n workflow so that, as a response, I get the document URL or download link for multiple documents where I can find the answer to my question?
    2. Is it possible to chat with this agent externally (for example, within Slack or by embedded chat box on the internal website)? In your example, the trigger chat message is sent from n8n, but what if I want to enable my colleague to ask a question but don't want to let him inside n8n?
    3. Can subversion clients be used as the source of knowledge base documents, such as Tortoise SVN?

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

      Thank you! And great questions!
      1. Yes you definitely can. You'd just have to make sure the links to the sources are available in the knowledgebase and then you can prompt the LLM in the system prompt to give URLs when it references knowledge.
      2. Yeah, the main thing here is changing the trigger for the n8n workflow to a webhook instead of the chat message trigger. This will turn your agent into a API that you can integrate with any platform. You can also have the trigger be something like a new message in Slack so you can integrate it directly into a Slack channel.
      3. You can really connect any data source as a source of knowledge to ingest in n8n as long as it has an API! There won't be a direct integration for Tortoise SVN like there is for something like GitHub, but you could have the n8n workflow use the Tortoise SVN API to pull documents and add it to the vector DB.

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

    Great content. any chance you can create a video about how to make actual code changes to the n8n instance and redeploy it via github actions?

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

      Thanks and yes! Maybe not GitHub actions specifically but I do want to integrate a more coding focused part of this ecosystem with CI/CD.

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

    Nice, I have gone through a lot setting up Local AI. Seems very scatters. Thanks for this approach. Just wondering if I can use SQL Server 2022 Express for my project. And congratulation for get merge with bolt.new to become bolt.diy. I whish you remember us all and make every body's life easy in future as well.

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

      You bet! Thanks for the kind words!
      Yes, you can certainly use SQL server instead! It's a different node in n8n but I believe there is one besides Postgres for the compatibility you need.

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

    instead of exposing ports, likely easier / better to just use docker network and then use the service name instead of localhost

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

    amazing video!

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

      Thank you very much! :)

  • @clubpasser123454321
    @clubpasser123454321 4 місяці тому +1

    Great video, thanks for sharing. Just one question, how do we get to docker-desktop? Was that installed as part of this?

    • @ColeMedin
      @ColeMedin  4 місяці тому

      Thank you!!
      I have a link to install Docker Desktop in the description! I can put it here too:
      www.docker.com/products/docker-desktop/
      It's a very quick and easy install!

  • @cerberes
    @cerberes 4 місяці тому +1

    Awesome sauce. Thank you!

    • @ColeMedin
      @ColeMedin  4 місяці тому

      Thank you! My pleasure! 😃

  • @Nick-tv5pu
    @Nick-tv5pu 4 місяці тому

    IIRC you don't need to expose ports in docker compose if all services are on the same docker network and use their docker hostnames to communicate.

    • @ColeMedin
      @ColeMedin  4 місяці тому +1

      That's what I thought too but I wasn't able to connect to Postgres within n8n until I exposed the Postgres port! Maybe I was just setting up the URL incorrectly at that point, you could totally be right. But that's what ended up working for me!

  • @kobe5113
    @kobe5113 4 місяці тому +1

    bro, just thank you. thats all i can say. thank you very much, awesome video! liked and subbed for algo

    • @ColeMedin
      @ColeMedin  4 місяці тому

      My pleasure, thank you very much my man!

  • @pvakharwala32
    @pvakharwala32 3 дні тому +1

    Can you add cloudflare tunnel as well?

  • @Aespinosa09
    @Aespinosa09 24 дні тому +1

    Thanks for sharing all of this, I started learning about all of this just a few days ago. I followed your tutorial and everything is working but I don't know why my agent never uses the knowledge base so it answers only with code, do you know what's going on?

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

      You are welcome! Sorry the LLM isn't doing great for you - it's probably because it is too small. I've had this happen a lot, especially with LLMs 8b parameters or smaller. It'll respond with "|" or something like that. Could you try with a larger LLM?

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

    Excellent video ! Thanks you so much 😊 i’m wondering if multilanguage is ok for the embedding process with the selected model ?

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

      Thank you! Yes, multilanguage should work great with most LLMs!

  • @kair0x
    @kair0x 4 місяці тому +1

    Awesome content !!!

    • @ColeMedin
      @ColeMedin  4 місяці тому

      Thank you very much!!

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

    There are two more additions that need to be added for this local dev environment. Open Web UI and ceph nano with S3 enabled
    With this you have your own local dev cloud environment then you can build functions and tools in open web UI that call n8n workflows, and store files using S3 protocol

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

      I actually did implement Open WebUI here!
      ua-cam.com/video/E2GIZrsDvuM/v-deo.html
      Ceph nano I haven't heard of, but that would be cool!

  • @nicnewdigate
    @nicnewdigate 4 місяці тому +1

    Amazing video ❤ thanks for sharing…

    • @ColeMedin
      @ColeMedin  4 місяці тому +1

      My pleasure, thank you!!

  • @h4rb1ng3r
    @h4rb1ng3r 4 місяці тому

    Thanks for sharing.
    Can you not send a pull request or whatever with your improvements on the help doco if you find it lacking in certain areas?

    • @ColeMedin
      @ColeMedin  4 місяці тому

      My pleasure!
      And I appreciate the suggestion! I honestly didn't think about sending in a pull request to update their README but I will consider that! As long as they are open to it!

  • @iair1234
    @iair1234 4 місяці тому +1

    Great video! What about making this runnable in a digital ocean VPS, and having some authentication so an API could be exposed only to those authorized. That's what most companies need, you could sell it in Gumroad even.

    • @ColeMedin
      @ColeMedin  4 місяці тому

      Thank you and I appreciate the suggestion a lot! I am actually planning on making a video on this in the VERY near future!

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

    Nice video thanks! Is any way to create a permanet memory based in the conversations with the chat bot? I mean: I just with the bot and it keeps all the learnings from this conversation for ever. Thanks

    • @ColeMedin
      @ColeMedin  4 місяці тому +1

      Thank you, my pleasure! :)
      This kind of thing you're describing where an LLM can learn from conversations over a long period of time is definitely possible, but it isn't a quick and easy implementation!
      Essentially, you have to tell the LLM (usually in the system prompt) how to determine what is important to remember in conversations. Then, you would set up a tool for it to add parts of conversations to its knowledge base (for RAG) when it determines something is important.
      I will be making content around this in the future so hopefully that will make this much clearer!

    • @samsaraAI2025
      @samsaraAI2025 4 місяці тому

      @@ColeMedin great thanks!! Please if you nake it do simple and easy to follow please. I am new with all this world :)

    • @ColeMedin
      @ColeMedin  4 місяці тому

      Of course! And yes, I will make it simple and easy to follow!

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

    hey, thanks for the tutorial! very easy to follow. I seem to be getting a stuck with a UNAUTHORISED NULL on ``clear old vectors`` though?

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

      Thank you - I'm glad it was easy to follow!
      I haven't encountered this error before... did you make any custom changes to the workflow by chance? Otherwise, it seems like it could be an issue with your Supabase credentials since it's an authorization error. I'd check to make sure the API key you set for the creds there in n8n matches the one in your project

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

    I got a lot of information from this video, but I was hoping to see some example n8n workflows for LOCAL files. I don't need to use Google Drive. Thanks!

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

      I'm glad you got a lot out of it!
      I totally get wanting to remain entirely local and not even use Google Drive. You can certainly do that in n8n by replacing the Google Drive triggers with local file triggers:
      docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.localfiletrigger/

    • @PeterMeijnen
      @PeterMeijnen 5 днів тому +1

      Hi, I replaced the Google Drive nodes with a Local File Trigger node. Had to change the implementation of the file_id a bit, but it works.

  • @EduVivaldi
    @EduVivaldi 4 години тому

    I regret not having found this video before, how can I get this n8n workflow?

  • @makinosora
    @makinosora 4 місяці тому +1

    You made an amazing video, I learned a lot and I have subscribed to your channel.
    May I ask a silly question: Why does conversational memory use a traditional database(postgresql)? Why not do the embedding and save it to a vector database?

    • @ColeMedin
      @ColeMedin  4 місяці тому +1

      Thank you very much, I'm glad you learned a lot from the video! :)
      Good question! Conversational memory uses a traditional database like PostgreSQL because it’s simple and reliable for storing structured data like chat messages. Vector databases are meant more for unstructured text - using a vector database with embeddings is fantastic for complex searches or matching based on meaning, but for just saving and retrieving straightforward info, a regular database gets the job done more efficiently.

    • @makinosora
      @makinosora 4 місяці тому +1

      ​@@ColeMedin Thank you very much for your reply, I can understand now😊

    • @ColeMedin
      @ColeMedin  4 місяці тому

      Awesome, of course!!

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

    Did you also consider just doing a post to the qdrant API /collections/imdb/points/delete with the filter in the body, would be a lot more simple.

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

      I believe I tried that but it didn't work for some reason! I really wish I could remember why... it's been a while now haha
      Maybe it was just my mistake though, really good idea!

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

      @@ColeMedin I have it working using HTTP Request node with POST to qdrant-server:6333/collections//points/delete
      with json body of the following deletes all the points for that document:
      {
      "filter": {
      "must": [
      {
      "key": "metadata.file_id",
      "match": {
      "value": "xxxxxxxxxxx-xxxxxxxxxx"
      }
      }
      ]
      }
      }

    • @jamespotter7477
      @jamespotter7477 23 дні тому +1

      @@ColeMedin I have it working using HTTP Request node with POST to with /collections//points/delete
      with json body of the following deletes all the points for that document:
      {
      "filter": {
      "must": [
      {
      "key": "metadata.file_id",
      "match": {
      "value": "xxxxxxxxxxx-xxxxxxxxxx"
      }
      }
      ]
      }
      }

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

      Beautiful!! Nice work

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

    Hi dude, thank you very much for share your knowledge. Talking about RAG, right now the Graph RAG looks like the best option for get better answer, I found projects about but every single one needs code, would you do a video building a flow with neo4j? Please

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

      The idea is use Neo4J like vectorial data base for embebing

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

      You are so welcome! I haven't used neo4j before, what is the advantage of using it?

  • @GeorgeCBaez
    @GeorgeCBaez 4 місяці тому +1

    Hello! Thank you for sharing this wonderful video! I am interested in changing the workflow, specifically the source of the knowledge base files. Can we upload from a local source like my system C drive? Perhaps we can try to upload to the Docker storage and use this as a source?

    • @GeorgeCBaez
      @GeorgeCBaez 4 місяці тому

      I created a folder on n8n container using docker, added it to the yaml file under the n8n service>volumes section , format .\Folder:path, then tested the imported using docker cp command.
      I can import in the local file trigger but stumbling around the conversion and import to vector DB. Any recommendations? It looks like the google trigger takes in the data as a binary file(text), and sends it to an Extract trigger. I need to replace the steps where the Download File is completed and the Extract step is completed but using local path and PDF file.

    • @GeorgeCBaez
      @GeorgeCBaez 4 місяці тому

      Got it working by removing the google step and using the same Trigger to Extract Document Text🤩

    • @ColeMedin
      @ColeMedin  4 місяці тому

      My pleasure George! Great question and I see you figured it out yourself - thanks for following up on that! I'm sure others will benefit from what you've done here too.

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

    Man! What a great job! +'

  • @efexzium
    @efexzium 4 місяці тому +1

    This sounds so interesting