Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo

Returns a new instance of GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.



21357
21358
21359
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21357

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

Instance Attribute Details

#candidates_token_countFixnum

Corresponds to the JSON property candidatesTokenCount

Returns:

  • (Fixnum)


21325
21326
21327
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21325

def candidates_token_count
  @candidates_token_count
end

#prompt_token_countFixnum

Corresponds to the JSON property promptTokenCount

Returns:

  • (Fixnum)


21330
21331
21332
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21330

def prompt_token_count
  @prompt_token_count
end

#similarity_to_last_queryFloat

Corresponds to the JSON property similarityToLastQuery

Returns:

  • (Float)


21335
21336
21337
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21335

def similarity_to_last_query
  @similarity_to_last_query
end

#similarity_to_last_query_thresholdFloat

Corresponds to the JSON property similarityToLastQueryThreshold

Returns:

  • (Float)


21340
21341
21342
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21340

def similarity_to_last_query_threshold
  @similarity_to_last_query_threshold
end

#thinking_budget_tokensFixnum

Corresponds to the JSON property thinkingBudgetTokens

Returns:

  • (Fixnum)


21345
21346
21347
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21345

def thinking_budget_tokens
  @thinking_budget_tokens
end

#thinking_levelString

Corresponds to the JSON property thinkingLevel

Returns:

  • (String)


21350
21351
21352
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21350

def thinking_level
  @thinking_level
end

#total_token_countFixnum

Corresponds to the JSON property totalTokenCount

Returns:

  • (Fixnum)


21355
21356
21357
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21355

def total_token_count
  @total_token_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21362
21363
21364
21365
21366
21367
21368
21369
21370
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21362

def update!(**args)
  @candidates_token_count = args[:candidates_token_count] if args.key?(:candidates_token_count)
  @prompt_token_count = args[:prompt_token_count] if args.key?(:prompt_token_count)
  @similarity_to_last_query = args[:similarity_to_last_query] if args.key?(:similarity_to_last_query)
  @similarity_to_last_query_threshold = args[:similarity_to_last_query_threshold] if args.key?(:similarity_to_last_query_threshold)
  @thinking_budget_tokens = args[:thinking_budget_tokens] if args.key?(:thinking_budget_tokens)
  @thinking_level = args[:thinking_level] if args.key?(:thinking_level)
  @total_token_count = args[:total_token_count] if args.key?(:total_token_count)
end