UNPKG

@anthropic-ai/sdk

Version:
50 lines • 4.24 kB
export declare const ATTR_GEN_AI_AGENT_NAME = "gen_ai.agent.name"; export { ATTR_GEN_AI_CONVERSATION_ID } from "../../../internal/tracing.js"; export declare const ATTR_GEN_AI_INPUT_MESSAGES = "gen_ai.input.messages"; export declare const ATTR_GEN_AI_OPERATION_NAME = "gen_ai.operation.name"; export declare const ATTR_GEN_AI_OUTPUT_MESSAGES = "gen_ai.output.messages"; export declare const ATTR_GEN_AI_OUTPUT_TYPE = "gen_ai.output.type"; export { ATTR_GEN_AI_PROVIDER_NAME } from "../../../internal/tracing.js"; export declare const ATTR_GEN_AI_REQUEST_MAX_TOKENS = "gen_ai.request.max_tokens"; export declare const ATTR_GEN_AI_REQUEST_MODEL = "gen_ai.request.model"; export declare const ATTR_GEN_AI_REQUEST_REASONING_LEVEL = "gen_ai.request.reasoning.level"; export declare const ATTR_GEN_AI_REQUEST_STOP_SEQUENCES = "gen_ai.request.stop_sequences"; export declare const ATTR_GEN_AI_REQUEST_STREAM = "gen_ai.request.stream"; export declare const ATTR_GEN_AI_RESPONSE_ID = "gen_ai.response.id"; export declare const ATTR_GEN_AI_RESPONSE_MODEL = "gen_ai.response.model"; export declare const ATTR_GEN_AI_RESPONSE_TIME_TO_FIRST_CHUNK = "gen_ai.response.time_to_first_chunk"; export declare const ATTR_GEN_AI_SYSTEM_INSTRUCTIONS = "gen_ai.system_instructions"; export declare const ATTR_GEN_AI_TOOL_CALL_ARGUMENTS = "gen_ai.tool.call.arguments"; export declare const ATTR_GEN_AI_TOOL_CALL_ID = "gen_ai.tool.call.id"; export declare const ATTR_GEN_AI_TOOL_DESCRIPTION = "gen_ai.tool.description"; export declare const ATTR_GEN_AI_TOOL_NAME = "gen_ai.tool.name"; export declare const ATTR_GEN_AI_TOOL_TYPE = "gen_ai.tool.type"; export declare const ATTR_GEN_AI_USAGE_CACHE_WRITE_INPUT_TOKENS = "gen_ai.usage.cache_write.input_tokens"; export declare const ATTR_GEN_AI_USAGE_CACHE_READ_INPUT_TOKENS = "gen_ai.usage.cache_read.input_tokens"; export declare const ATTR_GEN_AI_USAGE_INPUT_TOKENS = "gen_ai.usage.input_tokens"; export declare const ATTR_GEN_AI_USAGE_OUTPUT_TOKENS = "gen_ai.usage.output_tokens"; export declare const ATTR_GEN_AI_USAGE_REASONING_OUTPUT_TOKENS = "gen_ai.usage.reasoning.output_tokens"; export declare const GEN_AI_OPERATION_NAME_VALUE_CHAT = "chat"; export declare const GEN_AI_OPERATION_NAME_VALUE_EXECUTE_TOOL = "execute_tool"; export declare const GEN_AI_OPERATION_NAME_VALUE_INVOKE_AGENT = "invoke_agent"; export declare const GEN_AI_OUTPUT_TYPE_VALUE_JSON = "json"; export declare const GEN_AI_TOOL_TYPE_VALUE_FUNCTION = "function"; export declare const ATTR_ANTHROPIC_REQUEST_ID = "anthropic.request.id"; export declare const ATTR_ANTHROPIC_ORGANIZATION_ID = "anthropic.organization.id"; export declare const ATTR_ANTHROPIC_WORKSPACE_ID = "anthropic.workspace.id"; export declare const ATTR_ANTHROPIC_BETA = "anthropic.beta"; export declare const ATTR_ANTHROPIC_CONTENT_TRUNCATED = "anthropic.content.truncated"; export declare const ATTR_ANTHROPIC_MESSAGE_STOP_REASON = "anthropic.message.stop_reason"; export declare const ATTR_ANTHROPIC_MESSAGE_COUNT_TOKENS_INPUT_TOKENS = "anthropic.message.count_tokens.input_tokens"; export declare const ATTR_ANTHROPIC_REQUEST_SERVICE_TIER = "anthropic.request.service_tier"; export declare const ATTR_ANTHROPIC_RESPONSE_SERVICE_TIER = "anthropic.response.service_tier"; export declare const ATTR_ANTHROPIC_THINKING_BUDGET_TOKENS = "anthropic.thinking.budget_tokens"; export declare const ATTR_ANTHROPIC_THINKING_TYPE = "anthropic.thinking.type"; export declare const ATTR_ANTHROPIC_TOOL_RESULT_CONTENT = "anthropic.tool_result.content"; export declare const ATTR_ANTHROPIC_TOOLSET_NAME = "anthropic.toolset.name"; export declare const ATTR_ANTHROPIC_USAGE_CACHE_CREATION_EPHEMERAL_1H_INPUT_TOKENS = "anthropic.usage.cache_creation.ephemeral_1h_input_tokens"; export declare const ATTR_ANTHROPIC_USAGE_CACHE_CREATION_EPHEMERAL_5M_INPUT_TOKENS = "anthropic.usage.cache_creation.ephemeral_5m_input_tokens"; export declare const ATTR_ANTHROPIC_USAGE_COMPACTION_INPUT_TOKENS = "anthropic.usage.compaction.input_tokens"; export declare const ATTR_ANTHROPIC_USAGE_COMPACTION_OUTPUT_TOKENS = "anthropic.usage.compaction.output_tokens"; export declare const RESPONSE_HEADER_ATTRIBUTES: ReadonlyArray<[attribute: string, header: string]>; //# sourceMappingURL=attributes.d.ts.map