Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagCorpus
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagCorpus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
A RagCorpus is a RagFile container and a project can have multiple RagCorpora.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Required.
-
#name ⇒ String
Output only.
-
#rag_embedding_model_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig
Config for the embedding model to use for RAG.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagCorpus
constructor
A new instance of GoogleCloudAiplatformV1beta1RagCorpus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagCorpus
Returns a new instance of GoogleCloudAiplatformV1beta1RagCorpus.
22691 22692 22693 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22691 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Timestamp when this RagCorpus was created.
Corresponds to the JSON property createTime
22663 22664 22665 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22663 def create_time @create_time end |
#description ⇒ String
Optional. The description of the RagCorpus.
Corresponds to the JSON property description
22668 22669 22670 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22668 def description @description end |
#display_name ⇒ String
Required. The display name of the RagCorpus. The name can be up to 128
characters long and can consist of any UTF-8 characters.
Corresponds to the JSON property displayName
22674 22675 22676 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22674 def display_name @display_name end |
#name ⇒ String
Output only. The resource name of the RagCorpus.
Corresponds to the JSON property name
22679 22680 22681 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22679 def name @name end |
#rag_embedding_model_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig
Config for the embedding model to use for RAG.
Corresponds to the JSON property ragEmbeddingModelConfig
22684 22685 22686 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22684 def @rag_embedding_model_config end |
#update_time ⇒ String
Output only. Timestamp when this RagCorpus was last updated.
Corresponds to the JSON property updateTime
22689 22690 22691 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22689 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22696 22697 22698 22699 22700 22701 22702 22703 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22696 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @rag_embedding_model_config = args[:rag_embedding_model_config] if args.key?(:rag_embedding_model_config) @update_time = args[:update_time] if args.key?(:update_time) end |