How do I link an Azure AI Foundry Agent to Azure Functions?

0
0
Asked By TechieWizard42 On

I'm working on integrating an Azure AI Foundry Agent with Azure Functions, but I'm hitting a snag. While I've come across the necessary code, I keep encountering an error message that says "invalid tool value: azure_function." From what I've read, it seems like this might be due to a missing capability host that connects my project with the AI Services and Hub. However, attempts to create this capability host using the command "az ml capability-host create" have failed, giving me an "invalid connection collection" error. I even tried using a standard setup from the Microsoft documentation but haven't had any luck. Can anyone help me troubleshoot this?

2 Answers

Answered By CloudNinja89 On

Have you considered using Semantic Kernel and adding your Azure Function as a plugin? It might be a different approach that could solve the current problem you're facing.

Answered By CodeMaster2023 On

I think I found something that might help you out! Check this code sample on GitHub: [azure-functions-ai-services-agent-python](https://github.com/Azure-Samples/azure-functions-ai-services-agent-python/blob/main/app/function_app.py). It could provide some insights.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.