generative-ai-python

google.generativeai.protos.PredictRequest

Request message for [PredictionService.Predict][google.ai.generativelanguage.v1beta.PredictionService.Predict].

`model` `str` Required. The name of the model for prediction. Format: ``name=models/{model}``.
`instances` `MutableSequence[google.protobuf.struct_pb2.Value]` Required. The instances that are the input to the prediction call.
`parameters` `google.protobuf.struct_pb2.Value` Optional. The parameters that govern the prediction call.