GenerativeModelUseGrounding Property

Indicates whether grounding is enabled. Grounding integrates external tools, such as Google Search Retrieval, to support specific generative model requests for enhanced content generation.

Definition

Namespace: GenerativeAI
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public bool UseGrounding { get; set; }

Property Value

Boolean

Implements

IGenerativeModelUseGrounding

Remarks

Use Google Search Tool for Latest Models

See Also