Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::KnowledgeAssistDebugInfo::QueryGenerationDebugInfo.
Debug information and model metadata for query generation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#candidates_token_count
def candidates_token_count() -> ::Integer
Returns
- (::Integer) — The total number of tokens in the generated candidates.
#candidates_token_count=
def candidates_token_count=(value) -> ::Integer
Parameter
- value (::Integer) — The total number of tokens in the generated candidates.
Returns
- (::Integer) — The total number of tokens in the generated candidates.
#prompt_token_count
def prompt_token_count() -> ::Integer
Returns
- (::Integer) — The total number of tokens in the prompt.
#prompt_token_count=
def prompt_token_count=(value) -> ::Integer
Parameter
- value (::Integer) — The total number of tokens in the prompt.
Returns
- (::Integer) — The total number of tokens in the prompt.
#similarity_to_last_query
def similarity_to_last_query() -> ::Float
Returns
- (::Float) — The similarity score of the suggested query to the last suggested query.
#similarity_to_last_query=
def similarity_to_last_query=(value) -> ::Float
Parameter
- value (::Float) — The similarity score of the suggested query to the last suggested query.
Returns
- (::Float) — The similarity score of the suggested query to the last suggested query.
#similarity_to_last_query_threshold
def similarity_to_last_query_threshold() -> ::Float
Returns
- (::Float) — The similarity threshold used to filter out queries similar to the last suggestion.
#similarity_to_last_query_threshold=
def similarity_to_last_query_threshold=(value) -> ::Float
Parameter
- value (::Float) — The similarity threshold used to filter out queries similar to the last suggestion.
Returns
- (::Float) — The similarity threshold used to filter out queries similar to the last suggestion.
#thinking_budget_tokens
def thinking_budget_tokens() -> ::Integer
Returns
- (::Integer) — The thinking budget (in number of tokens) configured for the Gemini model.
#thinking_budget_tokens=
def thinking_budget_tokens=(value) -> ::Integer
Parameter
- value (::Integer) — The thinking budget (in number of tokens) configured for the Gemini model.
Returns
- (::Integer) — The thinking budget (in number of tokens) configured for the Gemini model.
#thinking_level
def thinking_level() -> ::String
Returns
- (::String) — The thinking level configured for the Gemini model.
#thinking_level=
def thinking_level=(value) -> ::String
Parameter
- value (::String) — The thinking level configured for the Gemini model.
Returns
- (::String) — The thinking level configured for the Gemini model.
#total_token_count
def total_token_count() -> ::Integer
Returns
- (::Integer) — The total number of tokens for the entire request.
#total_token_count=
def total_token_count=(value) -> ::Integer
Parameter
- value (::Integer) — The total number of tokens for the entire request.
Returns
- (::Integer) — The total number of tokens for the entire request.