Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPredictParamsGroundingConfigSourceEntry

Inherits:
Object
  • Object
show all
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

Single source entry for the grounding checking.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SchemaPredictParamsGroundingConfigSourceEntry

Returns a new instance of GoogleCloudAiplatformV1beta1SchemaPredictParamsGroundingConfigSourceEntry.



30579
30580
30581
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30579

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#enterprise_datastoreString

The uri of the Vertex AI Search data source. Deprecated. Use vertex_ai_search_datastore instead. Corresponds to the JSON property enterpriseDatastore

Returns:

  • (String)


30561
30562
30563
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30561

def enterprise_datastore
  @enterprise_datastore
end

#inline_contextString

The grounding text passed inline with the Predict API. It can support up to 1 million bytes. Corresponds to the JSON property inlineContext

Returns:

  • (String)


30567
30568
30569
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30567

def inline_context
  @inline_context
end

#typeString

The type of the grounding checking source. Corresponds to the JSON property type

Returns:

  • (String)


30572
30573
30574
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30572

def type
  @type
end

#vertex_ai_search_datastoreString

The uri of the Vertex AI Search data source. Corresponds to the JSON property vertexAiSearchDatastore

Returns:

  • (String)


30577
30578
30579
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30577

def vertex_ai_search_datastore
  @vertex_ai_search_datastore
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30584
30585
30586
30587
30588
30589
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30584

def update!(**args)
  @enterprise_datastore = args[:enterprise_datastore] if args.key?(:enterprise_datastore)
  @inline_context = args[:inline_context] if args.key?(:inline_context)
  @type = args[:type] if args.key?(:type)
  @vertex_ai_search_datastore = args[:vertex_ai_search_datastore] if args.key?(:vertex_ai_search_datastore)
end