Class GoogleCloudAiplatformV1beta1GenerateContentResponse
Response message for [PredictionService.GenerateContent].
Implements
Inherited Members
Namespace: Google.Apis.FirebaseML.v2beta.Data
Assembly: Google.Apis.FirebaseML.v2beta.dll
Syntax
public class GoogleCloudAiplatformV1beta1GenerateContentResponse : IDirectResponseSchema
Properties
Candidates
Output only. Generated candidates.
Declaration
[JsonProperty("candidates")]
public virtual IList<GoogleCloudAiplatformV1beta1Candidate> Candidates { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudAiplatformV1beta1Candidate> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ModelVersion
Output only. The model version used to generate the response.
Declaration
[JsonProperty("modelVersion")]
public virtual string ModelVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
PromptFeedback
Output only. Content filter results for a prompt sent in the request. Note: Sent only in the first stream chunk. Only happens when no candidates were generated due to content violations.
Declaration
[JsonProperty("promptFeedback")]
public virtual GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback PromptFeedback { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback |
UsageMetadata
Usage metadata about the response(s).
Declaration
[JsonProperty("usageMetadata")]
public virtual GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata UsageMetadata { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata |