Class: Google::Cloud::AIPlatform::V1::RetrieveContextsRequest::VertexRagStore
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::RetrieveContextsRequest::VertexRagStore
- 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
-
#rag_resources ⇒ ::Array<::Google::Cloud::AIPlatform::V1::RetrieveContextsRequest::VertexRagStore::RagResource>
Optional.
-
#vector_distance_threshold ⇒ ::Float
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
Instance Attribute Details
#rag_resources ⇒ ::Array<::Google::Cloud::AIPlatform::V1::RetrieveContextsRequest::VertexRagStore::RagResource>
Returns 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.
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 |