Skip to Content
Anuma SDKClientInternalType AliasesOpenaiChatCompletionNewParamsFunctionCallUnion

OpenaiChatCompletionNewParamsFunctionCallUnion

OpenaiChatCompletionNewParamsFunctionCallUnion = object

Defined in: src/client/types.gen.ts:3414 

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.

Properties

any?

optional any: unknown

Defined in: src/client/types.gen.ts:3415 


ofFunctionCallMode?

optional ofFunctionCallMode: ParamOptString

Defined in: src/client/types.gen.ts:3416 


ofFunctionCallOption?

optional ofFunctionCallOption: OpenaiChatCompletionFunctionCallOptionParam

Defined in: src/client/types.gen.ts:3417 

Last updated on