GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.fromJson constructor
GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.fromJson(
- Map json_
Implementation
GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.fromJson(
core.Map json_,
) : this(
candidatesTokenCount: json_['candidatesTokenCount'] as core.int?,
promptTokenCount: json_['promptTokenCount'] as core.int?,
similarityToLastQuery: (json_['similarityToLastQuery'] as core.num?)
?.toDouble(),
similarityToLastQueryThreshold:
(json_['similarityToLastQueryThreshold'] as core.num?)?.toDouble(),
thinkingBudgetTokens: json_['thinkingBudgetTokens'] as core.int?,
thinkingLevel: json_['thinkingLevel'] as core.String?,
totalTokenCount: json_['totalTokenCount'] as core.int?,
);