@sentry/core
Version:
Base implementation for all Sentry JavaScript SDKs
15 lines (12 loc) • 345 B
JavaScript
const LANGCHAIN_INTEGRATION_NAME = 'LangChain';
const LANGCHAIN_ORIGIN = 'auto.ai.langchain';
const ROLE_MAP = {
human: 'user',
ai: 'assistant',
assistant: 'assistant',
system: 'system',
function: 'function',
tool: 'tool',
};
export { LANGCHAIN_INTEGRATION_NAME, LANGCHAIN_ORIGIN, ROLE_MAP };
//# sourceMappingURL=constants.js.map