public sealed class GroundedGenerationServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Discovery Engine v1beta API class GroundedGenerationServiceSettings.
Settings for GroundedGenerationServiceClient instances.
Namespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
GroundedGenerationServiceSettings()
public GroundedGenerationServiceSettings()
Constructs a new GroundedGenerationServiceSettings object with default settings.
Properties
CheckGroundingSettings
public CallSettings CheckGroundingSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
GroundedGenerationServiceClient.CheckGrounding
and
GroundedGenerationServiceClient.CheckGroundingAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 5000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable.
- Timeout: 5 seconds.
GenerateGroundedContentSettings
public CallSettings GenerateGroundedContentSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
GroundedGenerationServiceClient.GenerateGroundedContent
and
GroundedGenerationServiceClient.GenerateGroundedContentAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 5000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable.
- Timeout: 5 seconds.
LocationsSettings
public LocationsSettings LocationsSettings { get; set; }
The settings to use for the LocationsClient associated with the client.
Property Value | |
---|---|
Type | Description |
LocationsSettings |
StreamGenerateGroundedContentSettings
public CallSettings StreamGenerateGroundedContentSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
GroundedGenerationServiceClient.StreamGenerateGroundedContent
and
GroundedGenerationServiceClient.StreamGenerateGroundedContentAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
Timeout: 5 seconds.
StreamGenerateGroundedContentStreamingSettings
public BidirectionalStreamingSettings StreamGenerateGroundedContentStreamingSettings { get; set; }
BidirectionalStreamingSettings for calls to
GroundedGenerationServiceClient.StreamGenerateGroundedContent
and
GroundedGenerationServiceClient.StreamGenerateGroundedContentAsync
.
Property Value | |
---|---|
Type | Description |
BidirectionalStreamingSettings |
The default local send queue size is 100.
Methods
Clone()
public GroundedGenerationServiceSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
GroundedGenerationServiceSettings |
A deep clone of this GroundedGenerationServiceSettings object. |
GetDefault()
public static GroundedGenerationServiceSettings GetDefault()
Get a new instance of the default GroundedGenerationServiceSettings.
Returns | |
---|---|
Type | Description |
GroundedGenerationServiceSettings |
A new instance of the default GroundedGenerationServiceSettings. |