Easy RAG Setup - Load Anything into Context - Mistral 7B / ChromaDB / LangChain

  Рет қаралды 10,894

All About AI

All About AI

Күн бұрын

Easy RAG Setup - Load Anything into Context - Mistral 7B / ChromaDB / LangChain
👊 Become a member and get access to GitHub:
/ allaboutai
Get a FREE 45+ ChatGPT Prompts PDF here:
📧 Join the newsletter:
www.allabtai.com/newsletter/
🌐 My website:
www.allabtai.com
Public GH:
github.com/AllAboutAI-YT/rag
00:00 Easy RAG Intro
00:47 Flowchart
01:33 Python Code Setup
04:31 Text RAG Tests
06:27 Speech RAG Tests
07:48 ChatBot Memory Tests

Пікірлер: 33
@nannan3347
@nannan3347 2 ай бұрын
It's unbelievable how brave, or deranged, this man is for setting a chunk_size of 500 instead of 512, and a chunk_overlap of 50 instead of 64
@crachingk6061
@crachingk6061 2 ай бұрын
Can you tell me why?
@CristianOrihuelaTorres
@CristianOrihuelaTorres 19 күн бұрын
@@crachingk6061 is simply a heuristic that’s been adopted by the community. There are no studies have decisively shown that using powers of two is optimal in any way for selecting hyperparameters such as batch size and the number of nodes in a given layer.
@user-wp8yx
@user-wp8yx 13 күн бұрын
I wouldn't have had the guts. What a man!
@matten_zero
@matten_zero 3 ай бұрын
This is why I left my previous industry to go full time in AI. Only place where people collaborate and share their code and knowledge for free. This is awesome. Last time I used lang chain it had some collisions but I think I'm ready to give it another shot.
@huyked
@huyked 3 ай бұрын
Do you think this openness will last, or only because it's novel at the moment? Also, if I may ask, what was your previous industry?
@matten_zero
@matten_zero 3 ай бұрын
@@huyked I've been watching from a distance and can tell you this isn't a one off. The nature of a lot software devs if open source. You can basically download anything you need to build an app for free and there are tons of people who upload courses for free. This is not a temporary phenomenon at all. I was in biopharma and that industry boy of boy is there A LOT of gatekeeping. Just to purchase a research article to do your research you're paying $100 to RENT an article. Just let that sink in. That's not to mention bureaucracy, regulations, busy work for the sake of busy work etc. Meanwhile I can download Python and almost every library for FREE and build useful products. Even talking about makes me mad thinking about it!
@JC.72
@JC.72 2 ай бұрын
​@@huyked if u mean the openness from open source community, the idea always been around and flourished since the start of www and digital age. linux/android/risc-v/blockchain/etc and the short answer is, it will surely last, as a user/hoarder of the open source community, the thing is that 99% of the time if there is a closed source proprietary company doing similar software, the paid version is almost always better. however, as more people getting involved in open source, along with open source growing or businesses which have both open/close software involvement, i am seeing open source being even more competitive now. blender software is a good example of that. on top of that, i think some are realizing AI is potentially overpowered, and some people feel wary to share away all of personal data to the large corporations for free, this could be another reason why we might see even more people involved for various reasons other than just another tech trend opportunity.
@User_1795
@User_1795 2 ай бұрын
The corps are just riding off the backs of open source and will keep it all for them selves.
@vapornate
@vapornate 3 ай бұрын
great summary video. been looking for this solution
@micbab-vg2mu
@micbab-vg2mu 3 ай бұрын
Great project - thank you for sharing:)
@NightSpyderTech
@NightSpyderTech 3 ай бұрын
This is awesome! I was needing an updated local RAG system.
@carstenli
@carstenli 3 ай бұрын
Not (yet) fully local, though. But you could add the Ollama Embedding API to the mix.
@mayorc
@mayorc 3 ай бұрын
Nice work on this.
@peter102
@peter102 2 ай бұрын
this is actually insane lmfao. awesome video
@MattJonesYT
@MattJonesYT 3 ай бұрын
More langchain vids please! Especially making custom agents! samwitteveenai has a lot of great source material
@michaelwallace4757
@michaelwallace4757 2 ай бұрын
Awesome video. I'd love to see the follow up video to the "Website Automation - Case Study Part 1"
@pietrobecqtattus4762
@pietrobecqtattus4762 3 ай бұрын
You should work on the project 01 with KillianLucas, everything you’ve done so far is sooooo damn good !! I’ve recently heard about Natural-Functions, a 7B function calling model, I don’t know if you’re interrested in this topic but this would certainly be a great video to watch to better understand this concept !! Thanks for your job !!!
@blacktyg3r
@blacktyg3r 3 ай бұрын
How big the context can be? If we consider keeping very long chat history, what would be best approach to make it efficient? Love your content, you hooked me in good time lol!
@clubbuzz
@clubbuzz 3 ай бұрын
I became a member. How can I get access to the complete files?
@retrogeekscr69
@retrogeekscr69 3 ай бұрын
Hi! I am a new subscriber to your great channel and I am writing to you from Costa Rica in Central America. I wanted to ask you if in all your videos you have any that would help me to get subtitles of audio or video sources whose language is Japanese or Chinese. I have tried several subtitling tools that come with the audio to text option but the result is not as expected because the dialogues do not adapt to what is happening on the screen.
@sanjidnet
@sanjidnet 7 күн бұрын
Why do we need openai if we are using mistral?
@paullachance6393
@paullachance6393 2 ай бұрын
Hello, nice work - unfortunately the github redirect in the members section is not working (404 error).
@BetaPug
@BetaPug 3 ай бұрын
Hi. The github file is different from the one you are using in the video. Did you link the wrong repository? The one in the link (in the description) seems to use only openAi server and not the local LLM. Maybe I'm missing something. (sorry to bother you but It's really interesting)
@carstenli
@carstenli 3 ай бұрын
He mentioned that you can get the full version as a member.
@BetaPug
@BetaPug 3 ай бұрын
@@carstenliThankyou
@mattobrien6854
@mattobrien6854 2 ай бұрын
I keep getting "ImportError: cannot import name 'OpenAI' from 'openai'" Does anyone have a fix? I've installed and uninstalled openai multiple times.
@williamdownes2032
@williamdownes2032 2 ай бұрын
having an issue with talk5.py... says no module named 'text'
@williamdownes2032
@williamdownes2032 2 ай бұрын
(openvoice) C:\Users\wildo\easy-rag>python talk5.py Traceback (most recent call last): File "C:\Users\wildo\easy-rag\talk5.py", line 9, in from api import BaseSpeakerTTS, ToneColorConverter File "C:\Users\wildo\easy-rag\api.py", line 9, in from text import text_to_sequence ModuleNotFoundError: No module named 'text'
@williamdownes2032
@williamdownes2032 2 ай бұрын
I figured out i needed to copy the "text" folder from the low-latency-sts project. After some other issues that required some additional pip installs I got it running! Works great! Looking forward to building upon this! Thanks for all your hard work putting these things together!
Nonomen funny video😂😂😂 #magic
00:27
Nonomen ノノメン
Рет қаралды 15 МЛН
одни дома // EVA mash @TweetvilleCartoon
01:00
EVA mash
Рет қаралды 4,5 МЛН
Who enjoyed seeing the solar eclipse
00:13
Zach King
Рет қаралды 94 МЛН
Reliable, fully local RAG agents with LLaMA3
21:19
LangChain
Рет қаралды 59 М.
RAG + Langchain Python Project: Easy AI/Chat For Your Docs
16:42
Python RAG Tutorial (with Local LLMs): AI For Your PDFs
21:33
How I Made AI Assistants Do My Work For Me: CrewAI
19:21
Maya Akim
Рет қаралды 632 М.
Vectoring Words (Word Embeddings) - Computerphile
16:56
Computerphile
Рет қаралды 273 М.
Get Started with Mistral 7B Locally in 6 Minutes
6:43
Developers Digest
Рет қаралды 50 М.
Секретная функция ютуба 😱🐍 #shorts
0:14
Владислав Шудейко
Рет қаралды 2,1 МЛН