Show / Hide Table of Contents

Class GoogleCloudAiplatformV1beta1GenerationConfig

Generation config.

Inheritance
object
GoogleCloudAiplatformV1beta1GenerationConfig
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.FirebaseML.v2beta.Data
Assembly: Google.Apis.FirebaseML.v2beta.dll
Syntax
public class GoogleCloudAiplatformV1beta1GenerationConfig : IDirectResponseSchema

Properties

AudioTimestamp

Optional. If enabled, audio timestamp will be included in the request to the model.

Declaration
[JsonProperty("audioTimestamp")]
public virtual bool? AudioTimestamp { get; set; }
Property Value
Type Description
bool?

CandidateCount

Optional. Number of candidates to generate.

Declaration
[JsonProperty("candidateCount")]
public virtual int? CandidateCount { get; set; }
Property Value
Type Description
int?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EnableAffectiveDialog

Optional. If enabled, the model will detect emotions and adapt its responses accordingly.

Declaration
[JsonProperty("enableAffectiveDialog")]
public virtual bool? EnableAffectiveDialog { get; set; }
Property Value
Type Description
bool?

FrequencyPenalty

Optional. Frequency penalties.

Declaration
[JsonProperty("frequencyPenalty")]
public virtual float? FrequencyPenalty { get; set; }
Property Value
Type Description
float?

Logprobs

Optional. Logit probabilities.

Declaration
[JsonProperty("logprobs")]
public virtual int? Logprobs { get; set; }
Property Value
Type Description
int?

MaxOutputTokens

Optional. The maximum number of output tokens to generate per message.

Declaration
[JsonProperty("maxOutputTokens")]
public virtual int? MaxOutputTokens { get; set; }
Property Value
Type Description
int?

MediaResolution

Optional. If specified, the media resolution specified will be used.

Declaration
[JsonProperty("mediaResolution")]
public virtual string MediaResolution { get; set; }
Property Value
Type Description
string

ModelConfig

Optional. Config for model selection.

Declaration
[JsonProperty("modelConfig")]
public virtual GoogleCloudAiplatformV1beta1GenerationConfigModelConfig ModelConfig { get; set; }
Property Value
Type Description
GoogleCloudAiplatformV1beta1GenerationConfigModelConfig

PresencePenalty

Optional. Positive penalties.

Declaration
[JsonProperty("presencePenalty")]
public virtual float? PresencePenalty { get; set; }
Property Value
Type Description
float?

ResponseJsonSchema

Optional. Output schema of the generated response. This is an alternative to response_schema that accepts JSON Schema. If set, response_schema must be omitted, but response_mime_type is required. While the full JSON Schema may be sent, not all features are supported. Specifically, only the following properties are supported: - $id - $defs - $ref - $anchor - type - format - title - description - enum (for strings and numbers) - items - prefixItems - minItems - maxItems - minimum - maximum - anyOf - oneOf (interpreted the same as anyOf) - properties - additionalProperties - required The non-standard propertyOrdering property may also be set. Cyclic references are unrolled to a limited degree and, as such, may only be used within non-required properties. (Nullable properties are not sufficient.) If $ref is set on a sub-schema, no other properties, except for than those starting as a $, may be set.

Declaration
[JsonProperty("responseJsonSchema")]
public virtual object ResponseJsonSchema { get; set; }
Property Value
Type Description
object

ResponseLogprobs

Optional. If true, export the logprobs results in response.

Declaration
[JsonProperty("responseLogprobs")]
public virtual bool? ResponseLogprobs { get; set; }
Property Value
Type Description
bool?

ResponseMimeType

Optional. Output response mimetype of the generated candidate text. Supported mimetype: - text/plain: (default) Text output. - application/json: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature.

Declaration
[JsonProperty("responseMimeType")]
public virtual string ResponseMimeType { get; set; }
Property Value
Type Description
string

ResponseModalities

Optional. The modalities of the response.

Declaration
[JsonProperty("responseModalities")]
public virtual IList<string> ResponseModalities { get; set; }
Property Value
Type Description
IList<string>

ResponseSchema

Optional. The Schema object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an OpenAPI 3.0 schema object. If set, a compatible response_mime_type must also be set. Compatible mimetypes: application/json: Schema for JSON response.

Declaration
[JsonProperty("responseSchema")]
public virtual GoogleCloudAiplatformV1beta1Schema ResponseSchema { get; set; }
Property Value
Type Description
GoogleCloudAiplatformV1beta1Schema

RoutingConfig

Optional. Routing configuration.

Declaration
[JsonProperty("routingConfig")]
public virtual GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig RoutingConfig { get; set; }
Property Value
Type Description
GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig

Seed

Optional. Seed.

Declaration
[JsonProperty("seed")]
public virtual int? Seed { get; set; }
Property Value
Type Description
int?

SpeechConfig

Optional. The speech generation config.

Declaration
[JsonProperty("speechConfig")]
public virtual GoogleCloudAiplatformV1beta1SpeechConfig SpeechConfig { get; set; }
Property Value
Type Description
GoogleCloudAiplatformV1beta1SpeechConfig

StopSequences

Optional. Stop sequences.

Declaration
[JsonProperty("stopSequences")]
public virtual IList<string> StopSequences { get; set; }
Property Value
Type Description
IList<string>

Temperature

Optional. Controls the randomness of predictions.

Declaration
[JsonProperty("temperature")]
public virtual float? Temperature { get; set; }
Property Value
Type Description
float?

ThinkingConfig

Optional. Config for thinking features. An error will be returned if this field is set for models that don't support thinking.

Declaration
[JsonProperty("thinkingConfig")]
public virtual GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig ThinkingConfig { get; set; }
Property Value
Type Description
GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig

TopK

Optional. If specified, top-k sampling will be used.

Declaration
[JsonProperty("topK")]
public virtual float? TopK { get; set; }
Property Value
Type Description
float?

TopP

Optional. If specified, nucleus sampling will be used.

Declaration
[JsonProperty("topP")]
public virtual float? TopP { get; set; }
Property Value
Type Description
float?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX