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.



32093
32094
32095
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32093

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


32085
32086
32087
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32085

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)


32091
32092
32093
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32091

def prompt2query_milliseconds
  @prompt2query_milliseconds
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32098
32099
32100
32101
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32098

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