Discovery Engine v1 API - Class StreamAssistRequest.Types.GenerationSpec (1.9.0)

public sealed class StreamAssistRequest.Types.GenerationSpec : IMessage<StreamAssistRequest.Types.GenerationSpec>, IEquatable<StreamAssistRequest.Types.GenerationSpec>, IDeepCloneable<StreamAssistRequest.Types.GenerationSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1 API class StreamAssistRequest.Types.GenerationSpec.

Assistant generation specification for the request. This allows to override the default generation configuration at the engine level.

Inheritance

object > StreamAssistRequest.Types.GenerationSpec

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

GenerationSpec()

public GenerationSpec()

GenerationSpec(GenerationSpec)

public GenerationSpec(StreamAssistRequest.Types.GenerationSpec other)
Parameter
Name Description
other StreamAssistRequestTypesGenerationSpec

Properties

ModelId

public string ModelId { get; set; }

Optional. The Vertex AI model_id used for the generative model. If not set, the default Assistant model will be used.

Property Value
Type Description
string