public sealed class KnowledgeAssistDebugInfo.Types.QueryGenerationDebugInfo : IMessage<KnowledgeAssistDebugInfo.Types.QueryGenerationDebugInfo>, IEquatable<KnowledgeAssistDebugInfo.Types.QueryGenerationDebugInfo>, IDeepCloneable<KnowledgeAssistDebugInfo.Types.QueryGenerationDebugInfo>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Dialogflow v2 API class KnowledgeAssistDebugInfo.Types.QueryGenerationDebugInfo.
Token usage metadata for query generation.
Implements
IMessageKnowledgeAssistDebugInfoTypesQueryGenerationDebugInfo, IEquatableKnowledgeAssistDebugInfoTypesQueryGenerationDebugInfo, IDeepCloneableKnowledgeAssistDebugInfoTypesQueryGenerationDebugInfo, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
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 |
|