UNPKG

@cognigy/rest-api-client

Version:

Cognigy REST-Client

30 lines 1.47 kB
// enum for the roles that can be used in the transcript // Warning: this is used in the nodes node, changes might break existing nodes export var TranscriptRole; (function (TranscriptRole) { TranscriptRole["ASSISTANT"] = "assistant"; TranscriptRole["USER"] = "user"; TranscriptRole["AGENT"] = "agent"; TranscriptRole["SYSTEM"] = "system"; TranscriptRole["TOOL"] = "tool"; })(TranscriptRole || (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 export var TranscriptEntryType; (function (TranscriptEntryType) { TranscriptEntryType["INPUT"] = "input"; TranscriptEntryType["OUTPUT"] = "output"; TranscriptEntryType["TOOL_CALL"] = "toolCall"; TranscriptEntryType["TOOL_ANSWER"] = "toolAnswer"; TranscriptEntryType["DEBUG_LOG"] = "debugLog"; })(TranscriptEntryType || (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 export var TranscriptEntrySource; (function (TranscriptEntrySource) { TranscriptEntrySource["USER"] = "user"; TranscriptEntrySource["ASSISTANT"] = "assistant"; TranscriptEntrySource["AGENT"] = "agent"; TranscriptEntrySource["SYSTEM"] = "system"; })(TranscriptEntrySource || (TranscriptEntrySource = {})); //# sourceMappingURL=transcripts.js.map