Cloud AI Platform v1 API - Class Retrieval (2.28.0)

public sealed class Retrieval : IMessage<Retrieval>, IEquatable<Retrieval>, IDeepCloneable<Retrieval>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class Retrieval.

Defines a retrieval tool that model can call to access external knowledge.

Inheritance

object > Retrieval

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

Retrieval()

public Retrieval()

Retrieval(Retrieval)

public Retrieval(Retrieval other)
Parameter
Name Description
other Retrieval

Properties

DisableAttribution

public bool DisableAttribution { get; set; }

Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation.

Property Value
Type Description
bool

SourceCase

public Retrieval.SourceOneofCase SourceCase { get; }
Property Value
Type Description
RetrievalSourceOneofCase

VertexAiSearch

public VertexAISearch VertexAiSearch { get; set; }

Set to use data source powered by Vertex AI Search.

Property Value
Type Description
VertexAISearch