Class: Google::Apis::AiplatformV1beta1::LearningGenaiRootPerRequestProcessorDebugMetadataFactualityDebugMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LearningGenaiRootPerRequestProcessorDebugMetadataFactualityDebugMetadata

Returns a new instance of LearningGenaiRootPerRequestProcessorDebugMetadataFactualityDebugMetadata.



35998
35999
36000
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35998

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>)


35990
35991
35992
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35990

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)


35996
35997
35998
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35996

def prompt2query_milliseconds
  @prompt2query_milliseconds
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



36003
36004
36005
36006
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36003

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