Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Instance Attribute Summary collapse
-
#candidates_token_count ⇒ Fixnum
Corresponds to the JSON property
candidatesTokenCount. -
#prompt_token_count ⇒ Fixnum
Corresponds to the JSON property
promptTokenCount. -
#similarity_to_last_query ⇒ Float
Corresponds to the JSON property
similarityToLastQuery. -
#similarity_to_last_query_threshold ⇒ Float
Corresponds to the JSON property
similarityToLastQueryThreshold. -
#thinking_budget_tokens ⇒ Fixnum
Corresponds to the JSON property
thinkingBudgetTokens. -
#thinking_level ⇒ String
Corresponds to the JSON property
thinkingLevel. -
#total_token_count ⇒ Fixnum
Corresponds to the JSON property
totalTokenCount.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo
constructor
A new instance of GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo
Returns a new instance of GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.
21850 21851 21852 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21850 def initialize(**args) update!(**args) end |
Instance Attribute Details
#candidates_token_count ⇒ Fixnum
Corresponds to the JSON property candidatesTokenCount
21818 21819 21820 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21818 def candidates_token_count @candidates_token_count end |
#prompt_token_count ⇒ Fixnum
Corresponds to the JSON property promptTokenCount
21823 21824 21825 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21823 def prompt_token_count @prompt_token_count end |
#similarity_to_last_query ⇒ Float
Corresponds to the JSON property similarityToLastQuery
21828 21829 21830 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21828 def similarity_to_last_query @similarity_to_last_query end |
#similarity_to_last_query_threshold ⇒ Float
Corresponds to the JSON property similarityToLastQueryThreshold
21833 21834 21835 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21833 def similarity_to_last_query_threshold @similarity_to_last_query_threshold end |
#thinking_budget_tokens ⇒ Fixnum
Corresponds to the JSON property thinkingBudgetTokens
21838 21839 21840 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21838 def thinking_budget_tokens @thinking_budget_tokens end |
#thinking_level ⇒ String
Corresponds to the JSON property thinkingLevel
21843 21844 21845 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21843 def thinking_level @thinking_level end |
#total_token_count ⇒ Fixnum
Corresponds to the JSON property totalTokenCount
21848 21849 21850 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21848 def total_token_count @total_token_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21855 21856 21857 21858 21859 21860 21861 21862 21863 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21855 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 |