@@ -171,15 +171,15 @@ def create(
171
171
172
172
We generally recommend altering this or `top_p` but not both.
173
173
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
178
178
`{"type": "function", "function": {"name": "my_function"}}` forces the model to
179
- call that function .
179
+ call that tool .
180
180
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.
183
183
184
184
tools: A list of tools the model may call. Currently, only functions are supported as a
185
185
tool. Use this to provide a list of functions the model may generate JSON inputs
@@ -339,15 +339,15 @@ def create(
339
339
340
340
We generally recommend altering this or `top_p` but not both.
341
341
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
346
346
`{"type": "function", "function": {"name": "my_function"}}` forces the model to
347
- call that function .
347
+ call that tool .
348
348
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.
351
351
352
352
tools: A list of tools the model may call. Currently, only functions are supported as a
353
353
tool. Use this to provide a list of functions the model may generate JSON inputs
@@ -507,15 +507,15 @@ def create(
507
507
508
508
We generally recommend altering this or `top_p` but not both.
509
509
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
514
514
`{"type": "function", "function": {"name": "my_function"}}` forces the model to
515
- call that function .
515
+ call that tool .
516
516
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.
519
519
520
520
tools: A list of tools the model may call. Currently, only functions are supported as a
521
521
tool. Use this to provide a list of functions the model may generate JSON inputs
@@ -751,15 +751,15 @@ async def create(
751
751
752
752
We generally recommend altering this or `top_p` but not both.
753
753
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
758
758
`{"type": "function", "function": {"name": "my_function"}}` forces the model to
759
- call that function .
759
+ call that tool .
760
760
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.
763
763
764
764
tools: A list of tools the model may call. Currently, only functions are supported as a
765
765
tool. Use this to provide a list of functions the model may generate JSON inputs
@@ -919,15 +919,15 @@ async def create(
919
919
920
920
We generally recommend altering this or `top_p` but not both.
921
921
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
926
926
`{"type": "function", "function": {"name": "my_function"}}` forces the model to
927
- call that function .
927
+ call that tool .
928
928
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.
931
931
932
932
tools: A list of tools the model may call. Currently, only functions are supported as a
933
933
tool. Use this to provide a list of functions the model may generate JSON inputs
@@ -1087,15 +1087,15 @@ async def create(
1087
1087
1088
1088
We generally recommend altering this or `top_p` but not both.
1089
1089
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
1094
1094
`{"type": "function", "function": {"name": "my_function"}}` forces the model to
1095
- call that function .
1095
+ call that tool .
1096
1096
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.
1099
1099
1100
1100
tools: A list of tools the model may call. Currently, only functions are supported as a
1101
1101
tool. Use this to provide a list of functions the model may generate JSON inputs
0 commit comments