Azure AI Foundry setting up RAG with Azure Search AI

To enable RAG in our agent, we need Azure foundry embedding model and a gpt-4-o model to test it out. This will empower our agent with inhouse knowledge. 

Lets deploy our Azure Foundry instance first. Pretty straight forward. Ensure we have deployed 2 model - embedding-3-small as shown below




We also need a storage account where we place our document to be indexed by Azure AI Search later. 



Next, we will create an Azure AI Search service. This will allow us to index document in our storage account. We can also configure a schedule if we wanted to:- 




Then we can import our document to build up our knowledge base. 




Here, we will configure our vector searches and now you know why we are creating the embedding model.


Next we will setup our agent and then add knowlege to it. So we create an agent. 




Under the section, knowledge (on the left tab), that's where we provide a knowledge and index to it. Once we have configure it, we can prompt our agent accordingly.














Comments

Popular posts from this blog

gemini cli getting file not defined error

mongosh install properly

vllm : Failed to infer device type