Gemini Enterprise for Customer Experience v1 API - Class DataStoreTool.Types.GroundingConfig (1.0.0-beta01)

public sealed class DataStoreTool.Types.GroundingConfig : IMessage<DataStoreTool.Types.GroundingConfig>, IEquatable<DataStoreTool.Types.GroundingConfig>, IDeepCloneable<DataStoreTool.Types.GroundingConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class DataStoreTool.Types.GroundingConfig.

Grounding configuration.

Inheritance

object > DataStoreTool.Types.GroundingConfig

Namespace

Google.Cloud.Ces.V1

Assembly

Google.Cloud.Ces.V1.dll

Constructors

GroundingConfig()

public GroundingConfig()

GroundingConfig(GroundingConfig)

public GroundingConfig(DataStoreTool.Types.GroundingConfig other)
Parameter
Name Description
other DataStoreToolTypesGroundingConfig

Properties

Disabled

public bool Disabled { get; set; }

Optional. Whether grounding is disabled.

Property Value
Type Description
bool

GroundingLevel

public float GroundingLevel { get; set; }

Optional. The groundedness threshold of the answer based on the retrieved sources. The value has a configurable range of [1, 5]. The level is used to threshold the groundedness of the answer, meaning that all responses with a groundedness score below the threshold will fall back to returning relevant snippets only.

For example, a level of 3 means that the groundedness score must be 3 or higher for the response to be returned.

Property Value
Type Description
float