Skip to main content

Python class

FunctionToolChoice

FunctionToolChoice​

class max.pipelines.request.FunctionToolChoice(*, type='function', name)

source

Bases: BaseModel

Specifies a particular function to call.

Parameters:

model_config​

model_config: ClassVar[ConfigDict] = {'frozen': True}

source

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

name​

name: str

source

type​

type: Literal['function']

source