UNPKG

@cognigy/rest-api-client

Version:

Cognigy REST-Client

33 lines 1.73 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TranscriptEntrySource = exports.TranscriptEntryType = exports.TranscriptRole = void 0; // enum for the roles that can be used in the transcript // Warning: this is used in the nodes node, changes might break existing nodes var TranscriptRole; (function (TranscriptRole) { TranscriptRole["ASSISTANT"] = "assistant"; TranscriptRole["USER"] = "user"; TranscriptRole["AGENT"] = "agent"; TranscriptRole["SYSTEM"] = "system"; TranscriptRole["TOOL"] = "tool"; })(TranscriptRole = exports.TranscriptRole || (exports.TranscriptRole = {})); // enum for the types of entries that can be used in the transcript // Warning: this is used in the nodes node, changes might break existing nodes var TranscriptEntryType; (function (TranscriptEntryType) { TranscriptEntryType["INPUT"] = "input"; TranscriptEntryType["OUTPUT"] = "output"; TranscriptEntryType["TOOL_CALL"] = "toolCall"; TranscriptEntryType["TOOL_ANSWER"] = "toolAnswer"; TranscriptEntryType["DEBUG_LOG"] = "debugLog"; })(TranscriptEntryType = exports.TranscriptEntryType || (exports.TranscriptEntryType = {})); // enum for the sources of the entries that can be used in the transcript // Warning: this is used in the nodes node, changes might break existing nodes var TranscriptEntrySource; (function (TranscriptEntrySource) { TranscriptEntrySource["USER"] = "user"; TranscriptEntrySource["ASSISTANT"] = "assistant"; TranscriptEntrySource["AGENT"] = "agent"; TranscriptEntrySource["SYSTEM"] = "system"; })(TranscriptEntrySource = exports.TranscriptEntrySource || (exports.TranscriptEntrySource = {})); //# sourceMappingURL=transcripts.js.map