Uses of Class
com.google.cloud.dialogflow.cx.v3beta1.LlmCall.TokenCount.Builder
-
Uses of LlmCall.TokenCount.Builder in com.google.cloud.dialogflow.cx.v3beta1
Methods in com.google.cloud.dialogflow.cx.v3beta1 that return LlmCall.TokenCount.BuilderModifier and TypeMethodDescriptionLlmCall.TokenCount.Builder.clear()LlmCall.TokenCount.Builder.clearConversationContextTokenCount()The number of tokens used for the conversation history in the prompt.LlmCall.TokenCount.Builder.clearExampleTokenCount()The number of tokens used for the retrieved examples in the prompt.LlmCall.TokenCount.Builder.clearTotalInputTokenCount()The total number of tokens used for the input to the LLM call.LlmCall.TokenCount.Builder.clearTotalOutputTokenCount()The total number of tokens used for the output of the LLM call.LlmCall.Builder.getTokenCountBuilder()The token counts of the LLM call.LlmCall.TokenCount.Builder.mergeFrom(LlmCall.TokenCount other) LlmCall.TokenCount.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) LlmCall.TokenCount.Builder.mergeFrom(com.google.protobuf.Message other) static LlmCall.TokenCount.BuilderLlmCall.TokenCount.newBuilder()static LlmCall.TokenCount.BuilderLlmCall.TokenCount.newBuilder(LlmCall.TokenCount prototype) LlmCall.TokenCount.newBuilderForType()protected LlmCall.TokenCount.BuilderLlmCall.TokenCount.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) LlmCall.TokenCount.Builder.setConversationContextTokenCount(long value) The number of tokens used for the conversation history in the prompt.LlmCall.TokenCount.Builder.setExampleTokenCount(long value) The number of tokens used for the retrieved examples in the prompt.LlmCall.TokenCount.Builder.setTotalInputTokenCount(long value) The total number of tokens used for the input to the LLM call.LlmCall.TokenCount.Builder.setTotalOutputTokenCount(long value) The total number of tokens used for the output of the LLM call.LlmCall.TokenCount.toBuilder()Methods in com.google.cloud.dialogflow.cx.v3beta1 with parameters of type LlmCall.TokenCount.BuilderModifier and TypeMethodDescriptionLlmCall.Builder.setTokenCount(LlmCall.TokenCount.Builder builderForValue) The token counts of the LLM call.