Agentic RAG with Memory || Phidata and Qdrant

  Рет қаралды 1,149

AI With Tarun

AI With Tarun

Күн бұрын

Пікірлер: 24
@FarisandFarida
@FarisandFarida 13 күн бұрын
Awesome 👏. Thank you for this
@phidata
@phidata Ай бұрын
Thank you for featuring Phidata, Tarun !!
@harshasr3705
@harshasr3705 Ай бұрын
My fav sensei back at it making things easy for me!!! Love your content
@RashomonAI
@RashomonAI Ай бұрын
Damn, this is soo cool. The inference and quality looks promising. As always loved the flow of video. Thanks for sharing
@manojkurdekar2400
@manojkurdekar2400 Ай бұрын
Your tutorial are definitely better compared to others I've seen especially with RAG maintenance in general. Thanks
@changtimwu
@changtimwu Ай бұрын
came from qdrant's X repost. The terminal output is so fancy. Maybe make it as a RAG CLI. Just search among personal frequently used knowledge bases.
@AIwithTarun
@AIwithTarun Ай бұрын
You can use this: agent.cli_app(stream=True) instead of running print_response.
@AlessioDiasparra-lx4ns
@AlessioDiasparra-lx4ns 18 күн бұрын
Hi Tarun I receive ModuleNotFoundError: No module named 'phi, how to fix? Thanks for your content !
@AIwithTarun
@AIwithTarun 18 күн бұрын
can you check if you installed `pip install phidata`
@AlessioDiasparra-lx4ns
@AlessioDiasparra-lx4ns 18 күн бұрын
@@AIwithTarun yes i install phidata, the results of pip list : Package Version ----------------- ---------- annotated-types 0.7.0 anyio 4.7.0 certifi 2024.12.14 click 8.1.8 distro 1.9.0 duckduckgo_search 7.1.1 exceptiongroup 1.2.2 gitdb 4.0.11 GitPython 3.1.43 grpcio 1.68.1 grpcio-tools 1.68.1 h11 0.14.0 h2 4.1.0 hpack 4.0.0 httpcore 1.0.7 httpx 0.28.1 hyperframe 6.0.1 idna 3.10 jiter 0.8.2 lxml 5.3.0 markdown-it-py 3.0.0 mdurl 0.1.2 numpy 2.0.2 openai 1.58.1 phidata 2.7.6 pip 24.3.1 portalocker 2.10.1 primp 0.9.2 protobuf 5.29.2 pydantic 2.10.4 pydantic_core 2.27.2 pydantic-settings 2.7.0 Pygments 2.18.0 python-dotenv 1.0.1 PyYAML 6.0.2 qdrant-client 1.12.2 rich 13.9.4 setuptools 58.0.4 shellingham 1.5.4 smmap 5.0.1 sniffio 1.3.1 tomli 2.2.1 tqdm 4.67.1 typer 0.15.1 typing_extensions 4.12.2 urllib3 2.3.0
@AlessioDiasparra-lx4ns
@AlessioDiasparra-lx4ns 17 күн бұрын
@@AIwithTarun yes is installed phidata 2.7.6
@AIwithTarun
@AIwithTarun 17 күн бұрын
@@AlessioDiasparra-lx4ns not sure if you are running the virtual environment. Can you join the Discord server: discord.com/invite/hEMqtDXCHA We can take the discussion further over there
@mihir5846
@mihir5846 Ай бұрын
Who exactly is making a decision whether to use the knowledge base or tool, openai model? Can a similar thing work with any other model? And how do you make a custom tool and decision making?
@AIwithTarun
@AIwithTarun Ай бұрын
LLM is doing the decision making part with heavy prompting. It depends on model reasoning capabilities. Gpt4-o, Claude, Grok XAI have good reasoning capabilities. Custom tool logic is possible, it just a function that returns context. Maybe I will make one video on that.
@mihir5846
@mihir5846 Ай бұрын
​@@AIwithTarun Thanks for the reply. Looking forward to your future videos.
@revanthbhuvanagiri9177
@revanthbhuvanagiri9177 Ай бұрын
Hey , really excellent work, I have issue while openAI API keys , could you please make video on how to create openAI api keys , it would be really helpful.😁😄
@AIwithTarun
@AIwithTarun Ай бұрын
- Go to platform.openai.com and login - Click on dashboard and navigate to API keys - Create a new key and save it somewhere. Also to remind you OpenAI API keys are not free, if you have the access then you can use it. If not use Gemini or XAI (grok)
@anshumanngupta5030
@anshumanngupta5030 Ай бұрын
you could hv explained better with n8n
@AIwithTarun
@AIwithTarun Ай бұрын
@@anshumanngupta5030 I have not used n8n before. Will check it out once
@ZainFacts
@ZainFacts Күн бұрын
Impressive work, I just want ot ask is this work with google gemini model beacuse i have tried it out it always tell me to add OPENAI_API_KEY=
@AIwithTarun
@AIwithTarun Күн бұрын
In my video I am using OPENAI_API_KEY. In order to use Google Gemini, you need to use GOOGLE_API_KEY. Check out this documentation: docs.phidata.com/reference/model/gemini
@ZainFacts
@ZainFacts Күн бұрын
@@AIwithTarun I have tried it but its always give error and force me to add openai api key
@AIwithTarun
@AIwithTarun Күн бұрын
@ Are you using knowledge base? If yes then that uses embedding model that runs on OpenAI. You need to change the embedding model to Gemini as well
@AIwithTarun
@AIwithTarun 5 сағат бұрын
vector_db = Qdrant( collection=COLLECTION_NAME, url=QDRANT_URL, api_key=QDRANT_API_KEY, embedder=GeminiEmbedder() ) knowledge_base = WebsiteKnowledgeBase( urls = ["qdrant.tech/documentation/overview/"], max_links = 10, vector_db = vector_db, ) Try this. Import: from phi.embedder.google import GeminiEmbedder
AI Agents LlamaIndex Crash Course
40:07
AI With Tarun
Рет қаралды 2,8 М.
Build production-ready AI Agents with Qdrant and n8n
1:20:41
Qdrant - Vector Database & Search Engine
Рет қаралды 4,1 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Real-World Multimodal AI Agents use case | Phidata and Gemini 2.0
29:54
Chunking Strategies in RAG: Optimising Data for Advanced AI Responses
14:02
I Ditched Traditional RAG for Agentic RAG and Got SHOCKING Results!
9:53
We've Been Building AI Agents WRONG Until Now
19:51
Cole Medin
Рет қаралды 57 М.
From RAG to Knowledge Assistants
27:29
LlamaIndex
Рет қаралды 29 М.
Reliable, fully local RAG agents with LLaMA3.2-3b
31:04
LangChain
Рет қаралды 83 М.
How I built an AI Teacher with Vector Databases and ChatGPT
13:43