Python class
TextGenerationRequestFunction
TextGenerationRequestFunction
class max.interfaces.TextGenerationRequestFunction
Bases: TypedDict
Represents a function definition for a text generation request.
description
A human-readable description of the function’s purpose.
name
name: str
The name of the function to be invoked.
parameters
A dictionary describing the function’s parameters, typically following a JSON schema.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!