Class: Google::Cloud::AIPlatform::V1::RetrieveContextsRequest::VertexRagStore

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/vertex_rag_service.rb

Overview

The data source for Vertex RagStore.

Defined Under Namespace

Classes: RagResource

Instance Attribute Summary collapse

Instance Attribute Details

#rag_resources::Array<::Google::Cloud::AIPlatform::V1::RetrieveContextsRequest::VertexRagStore::RagResource>



66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# File 'proto_docs/google/cloud/aiplatform/v1/vertex_rag_service.rb', line 66

class VertexRagStore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The definition of the Rag resource.
  # @!attribute [rw] rag_corpus
  #   @return [::String]
  #     Optional. RagCorpora resource name.
  #     Format:
  #     `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`
  # @!attribute [rw] rag_file_ids
  #   @return [::Array<::String>]
  #     Optional. rag_file_id. The files should be in the same rag_corpus set
  #     in rag_corpus field.
  class RagResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#vector_distance_threshold::Float

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Optional. Only return contexts with vector distance smaller than the threshold.



66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# File 'proto_docs/google/cloud/aiplatform/v1/vertex_rag_service.rb', line 66

class VertexRagStore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The definition of the Rag resource.
  # @!attribute [rw] rag_corpus
  #   @return [::String]
  #     Optional. RagCorpora resource name.
  #     Format:
  #     `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`
  # @!attribute [rw] rag_file_ids
  #   @return [::Array<::String>]
  #     Optional. rag_file_id. The files should be in the same rag_corpus set
  #     in rag_corpus field.
  class RagResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end