@@ -171,15 +171,15 @@ def create(
171171
172172 We generally recommend altering this or `top_p` but not both.
173173
174- tool_choice: Controls which (if any) function is called by the model. `none` means the model
175- will not call a function and instead generates a message. `auto` means the model
176- can pick between generating a message or calling a function. Specifying a
177- particular function via
174+ tool_choice: Controls which (if any) tool is called by the model. `none` means the model will
175+ not call any tool and instead generates a message. `auto` means the model can
176+ pick between generating a message or calling one or more tools. `required` means
177+ the model must call one or more tools. Specifying a particular tool via
178178 `{"type": "function", "function": {"name": "my_function"}}` forces the model to
179- call that function .
179+ call that tool .
180180
181- `none` is the default when no functions are present. `auto` is the default if
182- functions are present.
181+ `none` is the default when no tools are present. `auto` is the default if tools
182+ are present.
183183
184184 tools: A list of tools the model may call. Currently, only functions are supported as a
185185 tool. Use this to provide a list of functions the model may generate JSON inputs
@@ -339,15 +339,15 @@ def create(
339339
340340 We generally recommend altering this or `top_p` but not both.
341341
342- tool_choice: Controls which (if any) function is called by the model. `none` means the model
343- will not call a function and instead generates a message. `auto` means the model
344- can pick between generating a message or calling a function. Specifying a
345- particular function via
342+ tool_choice: Controls which (if any) tool is called by the model. `none` means the model will
343+ not call any tool and instead generates a message. `auto` means the model can
344+ pick between generating a message or calling one or more tools. `required` means
345+ the model must call one or more tools. Specifying a particular tool via
346346 `{"type": "function", "function": {"name": "my_function"}}` forces the model to
347- call that function .
347+ call that tool .
348348
349- `none` is the default when no functions are present. `auto` is the default if
350- functions are present.
349+ `none` is the default when no tools are present. `auto` is the default if tools
350+ are present.
351351
352352 tools: A list of tools the model may call. Currently, only functions are supported as a
353353 tool. Use this to provide a list of functions the model may generate JSON inputs
@@ -507,15 +507,15 @@ def create(
507507
508508 We generally recommend altering this or `top_p` but not both.
509509
510- tool_choice: Controls which (if any) function is called by the model. `none` means the model
511- will not call a function and instead generates a message. `auto` means the model
512- can pick between generating a message or calling a function. Specifying a
513- particular function via
510+ tool_choice: Controls which (if any) tool is called by the model. `none` means the model will
511+ not call any tool and instead generates a message. `auto` means the model can
512+ pick between generating a message or calling one or more tools. `required` means
513+ the model must call one or more tools. Specifying a particular tool via
514514 `{"type": "function", "function": {"name": "my_function"}}` forces the model to
515- call that function .
515+ call that tool .
516516
517- `none` is the default when no functions are present. `auto` is the default if
518- functions are present.
517+ `none` is the default when no tools are present. `auto` is the default if tools
518+ are present.
519519
520520 tools: A list of tools the model may call. Currently, only functions are supported as a
521521 tool. Use this to provide a list of functions the model may generate JSON inputs
@@ -751,15 +751,15 @@ async def create(
751751
752752 We generally recommend altering this or `top_p` but not both.
753753
754- tool_choice: Controls which (if any) function is called by the model. `none` means the model
755- will not call a function and instead generates a message. `auto` means the model
756- can pick between generating a message or calling a function. Specifying a
757- particular function via
754+ tool_choice: Controls which (if any) tool is called by the model. `none` means the model will
755+ not call any tool and instead generates a message. `auto` means the model can
756+ pick between generating a message or calling one or more tools. `required` means
757+ the model must call one or more tools. Specifying a particular tool via
758758 `{"type": "function", "function": {"name": "my_function"}}` forces the model to
759- call that function .
759+ call that tool .
760760
761- `none` is the default when no functions are present. `auto` is the default if
762- functions are present.
761+ `none` is the default when no tools are present. `auto` is the default if tools
762+ are present.
763763
764764 tools: A list of tools the model may call. Currently, only functions are supported as a
765765 tool. Use this to provide a list of functions the model may generate JSON inputs
@@ -919,15 +919,15 @@ async def create(
919919
920920 We generally recommend altering this or `top_p` but not both.
921921
922- tool_choice: Controls which (if any) function is called by the model. `none` means the model
923- will not call a function and instead generates a message. `auto` means the model
924- can pick between generating a message or calling a function. Specifying a
925- particular function via
922+ tool_choice: Controls which (if any) tool is called by the model. `none` means the model will
923+ not call any tool and instead generates a message. `auto` means the model can
924+ pick between generating a message or calling one or more tools. `required` means
925+ the model must call one or more tools. Specifying a particular tool via
926926 `{"type": "function", "function": {"name": "my_function"}}` forces the model to
927- call that function .
927+ call that tool .
928928
929- `none` is the default when no functions are present. `auto` is the default if
930- functions are present.
929+ `none` is the default when no tools are present. `auto` is the default if tools
930+ are present.
931931
932932 tools: A list of tools the model may call. Currently, only functions are supported as a
933933 tool. Use this to provide a list of functions the model may generate JSON inputs
@@ -1087,15 +1087,15 @@ async def create(
10871087
10881088 We generally recommend altering this or `top_p` but not both.
10891089
1090- tool_choice: Controls which (if any) function is called by the model. `none` means the model
1091- will not call a function and instead generates a message. `auto` means the model
1092- can pick between generating a message or calling a function. Specifying a
1093- particular function via
1090+ tool_choice: Controls which (if any) tool is called by the model. `none` means the model will
1091+ not call any tool and instead generates a message. `auto` means the model can
1092+ pick between generating a message or calling one or more tools. `required` means
1093+ the model must call one or more tools. Specifying a particular tool via
10941094 `{"type": "function", "function": {"name": "my_function"}}` forces the model to
1095- call that function .
1095+ call that tool .
10961096
1097- `none` is the default when no functions are present. `auto` is the default if
1098- functions are present.
1097+ `none` is the default when no tools are present. `auto` is the default if tools
1098+ are present.
10991099
11001100 tools: A list of tools the model may call. Currently, only functions are supported as a
11011101 tool. Use this to provide a list of functions the model may generate JSON inputs
0 commit comments