IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).

Python class

FunctionCall

FunctionCall​

class max.pipelines.request.FunctionCall(*, id, type='function', name, arguments, status=None)

source

Bases: BaseModel

A function call generated by the model.

Parameters:

arguments​

arguments: str

source

id​

id: str

source

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

status​

status: FunctionCallStatus | None

source

type​

type: Literal['function']

source