VertexRagStore class final

Retrieve from Vertex RAG Store for grounding.

Inheritance
  • Object
  • ProtoMessage
  • VertexRagStore

Constructors

VertexRagStore({List<String> ragCorpora = const [], List<VertexRagStore_RagResource> ragResources = const [], int? similarityTopK, double? vectorDistanceThreshold, RagRetrievalConfig? ragRetrievalConfig, bool storeContext = false})
VertexRagStore.fromJson(Object? j)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
ragCorpora List<String>
Optional. Deprecated. Please use rag_resources instead.
final
ragResources List<VertexRagStore_RagResource>
Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.
final
ragRetrievalConfig RagRetrievalConfig?
Optional. The retrieval config for the Rag query.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
similarityTopK int?
Optional. Number of top k results to return from the selected corpora.
final
storeContext bool
Optional. Currently only supported for Gemini Multimodal Live API.
final
vectorDistanceThreshold double?
Optional. Only return results with vector distance smaller than the threshold.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String