Tool Calling: Enforce tool calls when generating text
You can now force models to use one or more tool calls during output generation by setting the ToolChoice name-value argument of the generate function to "required".
This option is supported for these chat completion APIs:
openAIChatobjectsazureChatobjects
Tool Calling: Temporarily override Tools parameter when generating text
You can now set the Tools parameter for a single API call by using the corresponding name-value argument of the generate function.
AI Agent Workflows: New examples
Use these new examples to learn about agentic workflows:
- Solve Simple Math Problem Using AI Agent
- Fit Polynomial to Data Using AI Agent (requires Curve Fitting Toolbox™)
Minor Updates
This release includes:
- improved error handling
- bug fixes
- documentation updates
Full Changelog: v4.4.0...v4.5.0