Skip to content

v4.5.0: AI Agent Examples and Improved Tool Calling

Latest

Choose a tag to compare

@ccreutzi ccreutzi released this 15 Oct 11:19

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:

  • openAIChat objects
  • azureChat objects

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:

Minor Updates

This release includes:

  • improved error handling
  • bug fixes
  • documentation updates

Full Changelog: v4.4.0...v4.5.0