Class ResponseValidationError (1.74.0)

ResponseValidationError(
    message: str,
    request_contents: typing.List[
        vertexai.generative_models._generative_models.Content
    ],
    responses: typing.List[
        vertexai.generative_models._generative_models.GenerationResponse
    ],
)

API documentation for ResponseValidationError class.

Methods

with_traceback

Exception.with_traceback(tb) -- set self.traceback to tb and return self.