Google Cloud Dialogflow v2 API - Class KnowledgeAssistDebugInfo.Types.QueryGenerationDebugInfo (4.30.0)

public sealed class KnowledgeAssistDebugInfo.Types.QueryGenerationDebugInfo : IMessage<KnowledgeAssistDebugInfo.Types.QueryGenerationDebugInfo>, IEquatable<KnowledgeAssistDebugInfo.Types.QueryGenerationDebugInfo>, IDeepCloneable<KnowledgeAssistDebugInfo.Types.QueryGenerationDebugInfo>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class KnowledgeAssistDebugInfo.Types.QueryGenerationDebugInfo.

Token usage metadata for query generation.

Inheritance

object > KnowledgeAssistDebugInfo.Types.QueryGenerationDebugInfo

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

QueryGenerationDebugInfo()

public QueryGenerationDebugInfo()

QueryGenerationDebugInfo(QueryGenerationDebugInfo)

public QueryGenerationDebugInfo(KnowledgeAssistDebugInfo.Types.QueryGenerationDebugInfo other)
Parameter
Name Description
other KnowledgeAssistDebugInfoTypesQueryGenerationDebugInfo

Properties

CandidatesTokenCount

public int CandidatesTokenCount { get; set; }

The total number of tokens in the generated candidates.

Property Value
Type Description
int

PromptTokenCount

public int PromptTokenCount { get; set; }

The total number of tokens in the prompt.

Property Value
Type Description
int

TotalTokenCount

public int TotalTokenCount { get; set; }

The total number of tokens for the entire request.

Property Value
Type Description
int