Class GoogleCloudAiplatformV1GenerateContentResponse
Response message for [PredictionService.GenerateContent].
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1.Data
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class GoogleCloudAiplatformV1GenerateContentResponse : IDirectResponseSchema
Properties
Candidates
Output only. Generated candidates.
Declaration
[JsonProperty("candidates")]
public virtual IList<GoogleCloudAiplatformV1Candidate> Candidates { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudAiplatformV1Candidate> |
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 GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback PromptFeedback { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback |
UsageMetadata
Usage metadata about the response(s).
Declaration
[JsonProperty("usageMetadata")]
public virtual GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata UsageMetadata { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata |