public sealed class GroundingChunk.Types.RetrievedContext : IMessage<GroundingChunk.Types.RetrievedContext>, IEquatable<GroundingChunk.Types.RetrievedContext>, IDeepCloneable<GroundingChunk.Types.RetrievedContext>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Dialogflow v2 API class GroundingChunk.Types.RetrievedContext.
Context retrieved from a data source to ground the model's response. This is used when a retrieval tool fetches information from a user-provided corpus or a public dataset.
Implements
IMessageGroundingChunkTypesRetrievedContext, IEquatableGroundingChunkTypesRetrievedContext, IDeepCloneableGroundingChunkTypesRetrievedContext, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
RetrievedContext()
public RetrievedContext()RetrievedContext(RetrievedContext)
public RetrievedContext(GroundingChunk.Types.RetrievedContext other)| Parameter | |
|---|---|
| Name | Description |
other |
GroundingChunkTypesRetrievedContext |
Properties
Text
public string Text { get; set; }Output only. The content of the retrieved data source.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Title
public string Title { get; set; }Output only. The title of the retrieved data source.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Uri
public string Uri { get; set; }Output only. The URI of the retrieved data source.
| Property Value | |
|---|---|
| Type | Description |
string |
|