FunctionResponse(
*,
id: typing.Optional[str] = None,
name: typing.Optional[str] = None,
parts: typing.Optional[
list[vertexai._genai.types.common.FunctionResponsePart]
] = None,
response: typing.Optional[dict[str, typing.Any]] = None,
scheduling: typing.Optional[
vertexai._genai.types.common.FunctionResponseScheduling
] = None
)The result output from a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function is used as context to the model. This should contain the result of a [FunctionCall] made based on model prediction.
Methods
FunctionResponse
FunctionResponse(
*,
id: typing.Optional[str] = None,
name: typing.Optional[str] = None,
parts: typing.Optional[
list[vertexai._genai.types.common.FunctionResponsePart]
] = None,
response: typing.Optional[dict[str, typing.Any]] = None,
scheduling: typing.Optional[
vertexai._genai.types.common.FunctionResponseScheduling
] = None
)Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be
validated to form a valid model.
self is explicitly positional-only to allow self as a field name.