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
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.
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
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically
[Centos] Delete All Files And Folders That Contain a String