skip to content
Alvin Lucillo

Setting up a knowledge base for the agent

/ 1 min read

Once you have an agent, click the Knowledge tab from the left navigation panel, and click ‘Create a knowledge base’ button. Specify the name, and add a source. For the yesterday’s example, you can upload an expense policy file.

After that’s created, go to Azure Portal and look for the resource group your Foundry Project is part of and look for the Foundry IQ resource. Here, we need to provide the Foundry Project access to Foundry IQ (Azure AI Search). On the Foundry IQ resource’s Access control tab, click Add role assignment. Look for ‘Search Index Data Reader’ and assign that role to your Foundry project.

On your agent page, click Add under the Knowledge accordion and select your new knowledge base. Ensure you create you save the settings so that your chat can use that knowledge base.