TokenUsage - класс

Статистика по использованным токенам.

Definition

Пространство имён: Tessa.Ai.Arti.Models
Сборка: Tessa (в Tessa.dll) Версия: 4.2.2+a8f0dd3c063817b2e3f05a923303d808e447c338
C#
public sealed class TokenUsage
Inheritance
Object    TokenUsage

Конструкторы

TokenUsageИнициализирует новый экземпляр класса TokenUsage

Свойства

Completion Количество сгенерированных токенов.
Prompt Количество входных токенов.
Total Общее количество токенов.

Методы

EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetTypeGets the Type of the current instance.
(Унаследован от Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
ToStringReturns a string that represents the current object.
(Унаследован от Object)

См. также