/** * Semantic conventions aligned with OpenTelemetry Gen AI spec and Python SDK. * Old keys are kept for backward compatibility; new OTel-aligned keys are added with _OTEL suffix. */ export default class SemanticConvention { static ATTR_DEPLOYMENT_ENVIRONMENT: string; static GEN_AI_PROVIDER_NAME: string; /** OTel standard: use for new code / future compatibility */ static GEN_AI_PROVIDER_NAME_OTEL: string; static GEN_AI_OPERATION: string; static GEN_AI_OUTPUT_TYPE: string; static GEN_AI_REQUEST_MODEL: string; static GEN_AI_REQUEST_SEED: string; static GEN_AI_REQUEST_CHOICE_COUNT: string; static GEN_AI_REQUEST_ENCODING_FORMATS: string; static GEN_AI_REQUEST_FREQUENCY_PENALTY: string; static GEN_AI_REQUEST_MAX_TOKENS: string; static GEN_AI_REQUEST_PRESENCE_PENALTY: string; static GEN_AI_REQUEST_STOP_SEQUENCES: string; static GEN_AI_REQUEST_TEMPERATURE: string; static GEN_AI_REQUEST_TOP_K: string; static GEN_AI_REQUEST_TOP_P: string; static GEN_AI_CONVERSATION_ID: string; static GEN_AI_RESPONSE_FINISH_REASON: string; static GEN_AI_RESPONSE_ID: string; static GEN_AI_RESPONSE_MODEL: string; static GEN_AI_INPUT_MESSAGES: string; static GEN_AI_OUTPUT_MESSAGES: string; /** Legacy */ static GEN_AI_SYSTEM_INSTRUCTIONS: string; /** OTel standard */ static GEN_AI_SYSTEM_INSTRUCTIONS_OTEL: string; static GEN_AI_TOOL_DEFINITIONS: string; static GEN_AI_EMBEDDINGS_DIMENSION_COUNT: string; static GEN_AI_TOKEN_TYPE: string; static GEN_AI_TOKEN_TYPE_INPUT: string; static GEN_AI_TOKEN_TYPE_OUTPUT: string; static GEN_AI_TOKEN_TYPE_REASONING: string; static GEN_AI_CLIENT_OPERATION_DURATION: string; static GEN_AI_CLIENT_OPERATION_TIME_TO_FIRST_CHUNK: string; static GEN_AI_CLIENT_OPERATION_TIME_PER_OUTPUT_CHUNK: string; static GEN_AI_CLIENT_TOKEN_USAGE: string; static GEN_AI_SERVER_REQUEST_DURATION: string; static GEN_AI_SERVER_TBT: string; static GEN_AI_SERVER_TTFT: string; static SERVER_ADDRESS: string; static SERVER_PORT: string; static ERROR_TYPE: string; static ERROR_TYPE_UNAVAILABLE: string; static ERROR_TYPE_AUTHENTICATION: string; static ERROR_TYPE_TIMEOUT: string; static ERROR_TYPE_RATE_LIMITED: string; static ERROR_TYPE_PERMISSION: string; static ERROR_TYPE_NOT_FOUND: string; static ERROR_TYPE_INVALID_REQUEST: string; static ERROR_TYPE_SERVER_ERROR: string; static GEN_AI_USER_MESSAGE: string; static GEN_AI_SYSTEM_MESSAGE: string; static GEN_AI_ASSISTANT_MESSAGE: string; static GEN_AI_TOOL_MESSAGE: string; static GEN_AI_CHOICE: string; static GEN_AI_ENDPOINT: string; static GEN_AI_ENVIRONMENT: string; static GEN_AI_APPLICATION_NAME: string; static GEN_AI_HUB_OWNER: string; static GEN_AI_HUB_REPO: string; static GEN_AI_RETRIEVAL_SOURCE: string; static GEN_AI_REQUESTS: string; static GEN_AI_SDK_VERSION: string; static GEN_AI_REQUEST_IS_STREAM: string; static GEN_AI_REQUEST_USER: string; static GEN_AI_REQUEST_EMBEDDING_DIMENSION: string; static GEN_AI_REQUEST_TOOL_CHOICE: string; static GEN_AI_REQUEST_AUDIO_VOICE: string; static GEN_AI_REQUEST_AUDIO_RESPONSE_FORMAT: string; static GEN_AI_REQUEST_AUDIO_SPEED: string; static GEN_AI_REQUEST_FINETUNE_STATUS: string; static GEN_AI_REQUEST_FINETUNE_MODEL_SUFFIX: string; static GEN_AI_REQUEST_FINETUNE_MODEL_EPOCHS: string; static GEN_AI_REQUEST_FINETUNE_MODEL_LRM: string; static GEN_AI_REQUEST_FINETUNE_BATCH_SIZE: string; static GEN_AI_REQUEST_VALIDATION_FILE: string; static GEN_AI_REQUEST_TRAINING_FILE: string; static GEN_AI_REQUEST_IMAGE_SIZE: string; static GEN_AI_REQUEST_IMAGE_QUALITY: string; static GEN_AI_REQUEST_IMAGE_STYLE: string; static GEN_AI_REQUEST_SAFE_PROMPT: string; static GEN_AI_REQUEST_REASONING_EFFORT: string; /** Legacy key for reading duration from span attributes */ static GEN_AI_DURATION_LEGACY: string; static GEN_AI_USAGE_INPUT_TOKENS: string; static GEN_AI_USAGE_OUTPUT_TOKENS: string; static GEN_AI_USAGE_TOTAL_TOKENS: string; static GEN_AI_USAGE_COST: string; static GEN_AI_USAGE_REASONING_TOKENS: string; static GEN_AI_USAGE_COMPLETION_TOKENS_DETAILS_AUDIO: string; static GEN_AI_USAGE_COMPLETION_TOKENS_DETAILS_REASONING: string; static GEN_AI_USAGE_PROMPT_TOKENS_DETAILS_CACHE_READ: string; static GEN_AI_USAGE_PROMPT_TOKENS_DETAILS_CACHE_WRITE: string; static GEN_AI_USAGE_CACHE_CREATION_INPUT_TOKENS: string; static GEN_AI_USAGE_CACHE_READ_INPUT_TOKENS: string; static GEN_AI_RESPONSE_IMAGE: string; static GEN_AI_RESPONSE_IMAGE_SIZE: string; static GEN_AI_RESPONSE_IMAGE_QUALITY: string; static GEN_AI_RESPONSE_IMAGE_STYLE: string; static GEN_AI_REQUEST_SERVICE_TIER: string; static GEN_AI_RESPONSE_SERVICE_TIER: string; static GEN_AI_RESPONSE_SYSTEM_FINGERPRINT: string; static GEN_AI_CONTENT_PROMPT_EVENT: string; static GEN_AI_CONTENT_COMPLETION_EVENT: string; static GEN_AI_CONTENT_REVISED_PROMPT: string; static GEN_AI_CONTENT_REASONING: string; static GEN_AI_TOOL_NAME: string; static GEN_AI_TOOL_TYPE: string; /** OTel standard */ static GEN_AI_TOOL_TYPE_OTEL: string; static GEN_AI_TOOL_DESCRIPTION: string; static GEN_AI_TOOL_DEFINITION: string; static GEN_AI_TOOL_CALL_ID: string; static GEN_AI_TOOL_CALL_ARGUMENTS: string; static GEN_AI_TOOL_CALL_RESULT: string; static GEN_AI_TOOL_INPUT: string; static GEN_AI_TOOL_OUTPUT: string; static GEN_AI_TOOL_ARGS: string; static GEN_AI_RETRIEVAL_QUERY: string; static GEN_AI_RETRIEVAL_DOCUMENTS: string; static GEN_AI_RETRIEVAL_DOCUMENT_COUNT: string; static GEN_AI_WORKFLOW_INPUT: string; static GEN_AI_WORKFLOW_OUTPUT: string; static GEN_AI_WORKFLOW_TYPE: string; static GEN_AI_FRAMEWORK_ERROR_CLASS: string; static GEN_AI_FRAMEWORK_ERROR_TYPE: string; static GEN_AI_FRAMEWORK_ERROR_MESSAGE: string; static GEN_AI_SERIALIZED_NAME: string; static GEN_AI_SERIALIZED_SIGNATURE: string; static GEN_AI_SERIALIZED_DOC: string; static GEN_AI_SERIALIZED_MODULE: string; static GEN_AI_REQUEST_PROVIDER: string; static GEN_AI_DATA_SOURCES: string; static GEN_AI_OPERATION_TYPE_TEXT_COMPLETION: string; static GEN_AI_OPERATION_TYPE_CHAT: string; static GEN_AI_OPERATION_TYPE_EMBEDDING: string; static GEN_AI_OPERATION_TYPE_IMAGE: string; static GEN_AI_OPERATION_TYPE_AUDIO: string; static GEN_AI_OPERATION_TYPE_FINETUNING: string; static GEN_AI_OPERATION_TYPE_VECTORDB: string; static GEN_AI_OPERATION_TYPE_FRAMEWORK: string; static GEN_AI_OUTPUT_TYPE_TEXT: string; static GEN_AI_OUTPUT_TYPE_JSON: string; static GEN_AI_OUTPUT_TYPE_IMAGE: string; static GEN_AI_OUTPUT_TYPE_SPEECH: string; static GEN_AI_SYSTEM_HUGGING_FACE: string; static GEN_AI_SYSTEM_REPLICATE: string; static GEN_AI_SYSTEM_OPENAI: string; static GEN_AI_SYSTEM_AZURE_OPENAI: string; static GEN_AI_SYSTEM_ANTHROPIC: string; static GEN_AI_SYSTEM_COHERE: string; static GEN_AI_SYSTEM_MISTRAL: string; static GEN_AI_SYSTEM_AWS_BEDROCK: string; static GEN_AI_SYSTEM_VERTEXAI: string; static GEN_AI_SYSTEM_LANGCHAIN: string; static GEN_AI_SYSTEM_VERCEL_AI: string; static GEN_AI_SYSTEM_LLAMAINDEX: string; static DB_REQUESTS: string; static DB_SYSTEM: string; static DB_SYSTEM_NAME: string; static DB_SYSTEM_CHROMA: string; static DB_SYSTEM_PINECONE: string; static DB_SYSTEM_QDRANT: string; static DB_SYSTEM_MILVUS: string; static DB_COLLECTION_NAME: string; static DB_OPERATION: string; static DB_OPERATION_NAME: string; static DB_OPERATION_CREATE_INDEX: string; static DB_OPERATION_INSERT: string; static DB_OPERATION_QUERY: string; static DB_OPERATION_DELETE: string; static DB_OPERATION_UPDATE: string; static DB_OPERATION_UPSERT: string; static DB_OPERATION_GET: string; static DB_OPERATION_ADD: string; static DB_OPERATION_PEEK: string; static DB_OPERATION_SEARCH: string; static DB_OPERATION_FETCH: string; static DB_ID_COUNT: string; static DB_VECTOR_COUNT: string; static DB_METADATA_COUNT: string; static DB_DOCUMENTS_COUNT: string; static DB_QUERY_LIMIT: string; static DB_VECTOR_QUERY_TOP_K: string; static DB_OFFSET: string; static DB_WHERE_DOCUMENT: string; static DB_FILTER: string; static DB_QUERY_TEXT: string; static DB_QUERY_SUMMARY: string; static DB_STATEMENT: string; static DB_N_RESULTS: string; static DB_RESPONSE_RETURNED_ROWS: string; static DB_DELETE_ALL: string; static DB_INDEX_NAME: string; static DB_INDEX_DIMENSION: string; static DB_INDEX_METRIC: string; static DB_INDEX_SPEC: string; static DB_NAMESPACE: string; static DB_UPDATE_METADATA: string; static DB_UPDATE_VALUES: string; static DB_UPDATE_ID: string; static DB_CLIENT_OPERATION_DURATION: string; static DB_QUERY_PARAMETER: string; static DB_SDK_VERSION: string; static DB_OPERATION_ID: string; static DB_OPERATION_STATUS: string; static DB_OPERATION_COST: string; static DB_INDEX_NAME_ALT: string; static DB_COLLECTION_DIMENSION: string; static DB_VECTOR_QUERY_FILTER: string; static DB_DELETE_ID: string; static DB_METADATA: string; static DB_PAYLOAD_COUNT: string; static DB_WITH_PAYLOAD: string; static DB_OUTPUT_FIELDS: string; }