scheunemann-interfaces
Version:
Interfaces de Projetos Scheunemann
23 lines (22 loc) • 702 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ChatGptUsageEntity = void 0;
var ChatGptUsageEntity = /** @class */ (function () {
// #endregion Properties (3)
// #region Constructors (1)
function ChatGptUsageEntity(data) {
// #region Properties (3)
this.prompt_tokens = 0;
this.completion_tokens = 0;
this.total_tokens = 0;
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return ChatGptUsageEntity;
}());
exports.ChatGptUsageEntity = ChatGptUsageEntity;