Forum Discussion
Janhvi
May 08, 2024Copper Contributor
Tools in Teams AI Library
Hello Team, In LLM we use tools like DynamicTool, DynamicStructuredTool to determine when to call which function and with what parameters. How to do the same using Teams AI Library? My Use Case...
danielcart
Sep 24, 2025Copper Contributor
To achieve intent detection and call specific functions based on that in Teams AI Library, you can follow these steps: Use the built-in natural language understanding (NLU) capabilities or integrate an intent recognition model to analyze user queries. Based on the detected intent, write conditional logic in your bot code to call the appropriate function or tool. Although Teams AI Library doesn't have DynamicTool like classes, you can implement a custom intent-to-function mapping inside your bot handlers. Check for updates or community samples regularly, as advanced routing features may be added soon. In short, use intent detection outside the library, then route calls programmatically in your Teams bot based on that intent.