mirror of
https://github.com/LukeHagar/log10py.git
synced 2025-12-06 12:37:50 +00:00
30 lines
914 B
Markdown
30 lines
914 B
Markdown
# ~~CreateChatCompletionRequestFunctionCall~~
|
|
|
|
Deprecated in favor of `tool_choice`.
|
|
|
|
Controls which (if any) function is called by the model.
|
|
`none` means the model will not call a function and instead generates a message.
|
|
`auto` means the model can pick between generating a message or calling a function.
|
|
Specifying a particular function via `{"name": "my_function"}` forces the model to call that function.
|
|
|
|
`none` is the default when no functions are present. `auto` is the default if functions are present.
|
|
|
|
|
|
> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
|
|
|
|
## Supported Types
|
|
|
|
### One
|
|
|
|
```python
|
|
createChatCompletionRequestFunctionCall: components.One = /* values here */
|
|
```
|
|
|
|
### ChatCompletionFunctionCallOption
|
|
|
|
```python
|
|
createChatCompletionRequestFunctionCall: components.ChatCompletionFunctionCallOption = /* values here */
|
|
```
|
|
|