Class: Google::Apis::AiplatformV1::LearningGenaiRootPerRequestProcessorDebugMetadataFactualityDebugMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LearningGenaiRootPerRequestProcessorDebugMetadataFactualityDebugMetadata

Returns a new instance of LearningGenaiRootPerRequestProcessorDebugMetadataFactualityDebugMetadata.



32194
32195
32196
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32194

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

Instance Attribute Details

#fact_retrieval_milliseconds_by_providerHash<String,Fixnum>

Latency spent on fact retrievals. There might be multiple retrievals from different fact providers. Corresponds to the JSON property factRetrievalMillisecondsByProvider

Returns:

  • (Hash<String,Fixnum>)


32186
32187
32188
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32186

def fact_retrieval_milliseconds_by_provider
  @fact_retrieval_milliseconds_by_provider
end

#prompt2query_millisecondsFixnum

Latency spent on prompt2query. The procedure generates a search-friendly query given the original prompt. Corresponds to the JSON property prompt2queryMilliseconds

Returns:

  • (Fixnum)


32192
32193
32194
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32192

def prompt2query_milliseconds
  @prompt2query_milliseconds
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32199
32200
32201
32202
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32199

def update!(**args)
  @fact_retrieval_milliseconds_by_provider = args[:fact_retrieval_milliseconds_by_provider] if args.key?(:fact_retrieval_milliseconds_by_provider)
  @prompt2query_milliseconds = args[:prompt2query_milliseconds] if args.key?(:prompt2query_milliseconds)
end