Retrieval-Augmented Generation (RAG) with Spring AI, PGVector and Open AI

  Рет қаралды 994

Code Wiz

Code Wiz

Күн бұрын

Пікірлер: 10
@omkar.at.office
@omkar.at.office 2 ай бұрын
Awesome explanation. Thanks!
@Code.Wizzard
@Code.Wizzard 2 ай бұрын
Thanks a lot for the feedback
@TomStephen-lz3jh
@TomStephen-lz3jh 3 ай бұрын
Can you do a video with redis and using similarity search with filter expression?
@Code.Wizzard
@Code.Wizzard 3 ай бұрын
Sure, will plan that. Thanks for the recommendation
@liqwis9598
@liqwis9598 5 ай бұрын
Hello bro Can you do this with offline ai model using ollma
@Code.Wizzard
@Code.Wizzard 5 ай бұрын
Sure, I'll plan a video for that. Thanks for the feedback! Meanwhile, if you want to try it out, it's really easy to swap OpenAI with Ollama. Simply change the dependency from spring-ai-openai-spring-boot-starter to spring-ai-ollama-spring-boot-starter. This video has instructions on how to set up Ollama locally: kzbin.info/www/bejne/d5-ymWN5ariXfLs
@liqwis9598
@liqwis9598 5 ай бұрын
@@Code.Wizzard i have tried it out but not rag feature, so thought of asking you
@Code.Wizzard
@Code.Wizzard 5 ай бұрын
That's great! Just switching the dependency in codebase of this video should do the trick then. However, while running Ollama locally, keep in mind that we usually use 7B or 13B models. This might lead to some reduction in accuracy compared to OpenAI's paid models, which use a much larger model, around 1.7 trillion parameters or so.
@liqwis9598
@liqwis9598 5 ай бұрын
​@@Code.Wizzard let me try this 👍,, and bro please explain some more use. Cases with. Ai
RAG But Better: Rerankers with Cohere AI
23:43
James Briggs
Рет қаралды 65 М.
Counter-Strike 2 - Новый кс. Cтарый я
13:10
Marmok
Рет қаралды 2,8 МЛН
18 Months of Pgvector Learnings in 47 Minutes (Tutorial)
47:13
Spring Tips: Vector Databases with Spring AI
23:55
SpringDeveloper
Рет қаралды 10 М.
What are AI Agents?
12:29
IBM Technology
Рет қаралды 1 МЛН
The missing pieces to your AI app (pgvector + RAG in prod)
2:12:00
Counter-Strike 2 - Новый кс. Cтарый я
13:10
Marmok
Рет қаралды 2,8 МЛН