Portkey

What's New
Log inSign up
All Announcements11 Jul, 2024

New Tool Choice Param: "Required"

New Feature
Prompts

When using function calling, you can now ensure that the model 100% calls one of your specified functions by setting tool_choice: "required" from the right sidebar in prompts playground.

CleanShot 2024-07-11 at 15.39.13@2x

This param is currently supported for OpenAI models. Here's a detailed description for what each value of tool_choice does:

CleanShot 2024-07-11 at 15.48.19@2x

 Check out the detailed guide by OpenAI here.

4

  • Home
  • Log in