Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::RetrieveContextsRequest::VertexRagStore (v0.61.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::RetrieveContextsRequest::VertexRagStore.

The data source for Vertex RagStore.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#rag_resources

def rag_resources() -> ::Array<::Google::Cloud::AIPlatform::V1::RetrieveContextsRequest::VertexRagStore::RagResource>
Returns

#rag_resources=

def rag_resources=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::RetrieveContextsRequest::VertexRagStore::RagResource>
Parameter
Returns

#vector_distance_threshold

def vector_distance_threshold() -> ::Float
Returns
  • (::Float) — Optional. Only return contexts with vector distance smaller than the threshold.

#vector_distance_threshold=

def vector_distance_threshold=(value) -> ::Float
Parameter
  • value (::Float) — Optional. Only return contexts with vector distance smaller than the threshold.
Returns
  • (::Float) — Optional. Only return contexts with vector distance smaller than the threshold.