Variable SemanticConventionsConst
SemanticConventions: {
AGENT_NAME: "agent.name";
DOCUMENT_CONTENT: "document.content";
DOCUMENT_ID: "document.id";
DOCUMENT_METADATA: "document.metadata";
DOCUMENT_SCORE: "document.score";
EMBEDDING_EMBEDDINGS: "embedding.embeddings";
EMBEDDING_MODEL_NAME: "embedding.model_name";
EMBEDDING_TEXT: "embedding.text";
EMBEDDING_VECTOR: "embedding.vector";
GRAPH_NODE_ID: "graph.node.id";
GRAPH_NODE_NAME: "graph.node.name";
GRAPH_NODE_PARENT_ID: "graph.node.parent_id";
IMAGE_URL: "image.url";
INPUT_MIME_TYPE: "input.mime_type";
INPUT_VALUE: "input.value";
LLM_COST: "llm.cost";
LLM_COST_COMPLETION: "llm.cost.completion";
LLM_COST_COMPLETION_DETAILS_AUDIO: "llm.cost.completion_details.audio";
LLM_COST_COMPLETION_DETAILS_REASONING: "llm.cost.completion_details.reasoning";
LLM_COST_INPUT: "llm.cost.prompt_details.input";
LLM_COST_OUTPUT: "llm.cost.completion_details.output";
LLM_COST_PROMPT: "llm.cost.prompt";
LLM_COST_PROMPT_DETAILS_AUDIO: "llm.cost.prompt_details.audio";
LLM_COST_PROMPT_DETAILS_CACHE_INPUT: "llm.cost.prompt_details.cache_input";
LLM_COST_PROMPT_DETAILS_CACHE_READ: "llm.cost.prompt_details.cache_read";
LLM_COST_PROMPT_DETAILS_CACHE_WRITE: "llm.cost.prompt_details.cache_write";
LLM_COST_TOTAL: "llm.cost.total";
LLM_FUNCTION_CALL: "llm.function_call";
LLM_INPUT_MESSAGES: "llm.input_messages";
LLM_INVOCATION_PARAMETERS: "llm.invocation_parameters";
LLM_MODEL_NAME: "llm.model_name";
LLM_OUTPUT_MESSAGES: "llm.output_messages";
LLM_PROMPTS: "llm.prompts";
LLM_PROVIDER: "llm.provider";
LLM_SYSTEM: "llm.system";
LLM_TOKEN_COUNT_COMPLETION: "llm.token_count.completion";
LLM_TOKEN_COUNT_COMPLETION_DETAILS: "llm.token_count.completion_details";
LLM_TOKEN_COUNT_COMPLETION_DETAILS_AUDIO: "llm.token_count.completion_details.audio";
LLM_TOKEN_COUNT_COMPLETION_DETAILS_REASONING: "llm.token_count.completion_details.reasoning";
LLM_TOKEN_COUNT_PROMPT: "llm.token_count.prompt";
LLM_TOKEN_COUNT_PROMPT_DETAILS: "llm.token_count.prompt_details";
LLM_TOKEN_COUNT_PROMPT_DETAILS_AUDIO: "llm.token_count.prompt_details.audio";
LLM_TOKEN_COUNT_PROMPT_DETAILS_CACHE_INPUT: "llm.token_count.prompt_details.cache_input";
LLM_TOKEN_COUNT_PROMPT_DETAILS_CACHE_READ: "llm.token_count.prompt_details.cache_read";
LLM_TOKEN_COUNT_PROMPT_DETAILS_CACHE_WRITE: "llm.token_count.prompt_details.cache_write";
LLM_TOKEN_COUNT_TOTAL: "llm.token_count.total";
LLM_TOOLS: "llm.tools";
MESSAGE_CONTENT: "message.content";
MESSAGE_CONTENT_IMAGE: "message_content.image";
MESSAGE_CONTENT_TEXT: "message_content.text";
MESSAGE_CONTENT_TYPE: "message_content.type";
MESSAGE_CONTENTS: "message.contents";
MESSAGE_FUNCTION_CALL_ARGUMENTS_JSON: "message.function_call_arguments_json";
MESSAGE_FUNCTION_CALL_NAME: "message.function_call_name";
MESSAGE_NAME: "message.name";
MESSAGE_ROLE: "message.role";
MESSAGE_TOOL_CALL_ID: "message.tool_call_id";
MESSAGE_TOOL_CALLS: "message.tool_calls";
METADATA: "metadata";
OPENINFERENCE_SPAN_KIND: "openinference.span.kind";
OUTPUT_MIME_TYPE: "output.mime_type";
OUTPUT_VALUE: "output.value";
PROMPT_ID: "prompt.id";
PROMPT_TEMPLATE_TEMPLATE: "llm.prompt_template.template";
PROMPT_TEMPLATE_VARIABLES: "llm.prompt_template.variables";
PROMPT_TEMPLATE_VERSION: "llm.prompt_template.version";
PROMPT_URL: "prompt.url";
PROMPT_VENDOR: "prompt.vendor";
RERANKER_INPUT_DOCUMENTS: "reranker.input_documents";
RERANKER_MODEL_NAME: "reranker.model_name";
RERANKER_OUTPUT_DOCUMENTS: "reranker.output_documents";
RERANKER_QUERY: "reranker.query";
RERANKER_TOP_K: "reranker.top_k";
RETRIEVAL_DOCUMENTS: "retrieval.documents";
SESSION_ID: "session.id";
TAG_TAGS: "tag.tags";
TOOL_CALL_FUNCTION_ARGUMENTS_JSON: "tool_call.function.arguments";
TOOL_CALL_FUNCTION_NAME: "tool_call.function.name";
TOOL_CALL_ID: "tool_call.id";
TOOL_DESCRIPTION: "tool.description";
TOOL_JSON_SCHEMA: "tool.json_schema";
TOOL_NAME: "tool.name";
TOOL_PARAMETERS: "tool.parameters";
USER_ID: "user.id";
}
Type Declaration
ReadonlyAGENT_NAME: "agent.name"
ReadonlyDOCUMENT_CONTENT: "document.content"
ReadonlyDOCUMENT_ID: "document.id"
ReadonlyDOCUMENT_SCORE: "document.score"
ReadonlyEMBEDDING_EMBEDDINGS: "embedding.embeddings"
ReadonlyEMBEDDING_MODEL_NAME: "embedding.model_name"
ReadonlyEMBEDDING_TEXT: "embedding.text"
ReadonlyEMBEDDING_VECTOR: "embedding.vector"
ReadonlyGRAPH_NODE_ID: "graph.node.id"
ReadonlyGRAPH_NODE_NAME: "graph.node.name"
ReadonlyGRAPH_NODE_PARENT_ID: "graph.node.parent_id"
ReadonlyIMAGE_URL: "image.url"
ReadonlyLLM_COST: "llm.cost"
ReadonlyLLM_COST_COMPLETION: "llm.cost.completion"
ReadonlyLLM_COST_COMPLETION_DETAILS_AUDIO: "llm.cost.completion_details.audio"
ReadonlyLLM_COST_COMPLETION_DETAILS_REASONING: "llm.cost.completion_details.reasoning"
ReadonlyLLM_COST_OUTPUT: "llm.cost.completion_details.output"
ReadonlyLLM_COST_PROMPT: "llm.cost.prompt"
ReadonlyLLM_COST_PROMPT_DETAILS_AUDIO: "llm.cost.prompt_details.audio"
ReadonlyLLM_COST_PROMPT_DETAILS_CACHE_READ: "llm.cost.prompt_details.cache_read"
ReadonlyLLM_COST_PROMPT_DETAILS_CACHE_WRITE: "llm.cost.prompt_details.cache_write"
ReadonlyLLM_COST_TOTAL: "llm.cost.total"
ReadonlyLLM_FUNCTION_CALL: "llm.function_call"
ReadonlyLLM_INVOCATION_PARAMETERS: "llm.invocation_parameters"
ReadonlyLLM_MODEL_NAME: "llm.model_name"
ReadonlyLLM_OUTPUT_MESSAGES: "llm.output_messages"
ReadonlyLLM_PROMPTS: "llm.prompts"
ReadonlyLLM_PROVIDER: "llm.provider"
ReadonlyLLM_SYSTEM: "llm.system"
ReadonlyLLM_TOKEN_COUNT_COMPLETION: "llm.token_count.completion"
ReadonlyLLM_TOKEN_COUNT_COMPLETION_DETAILS: "llm.token_count.completion_details"
ReadonlyLLM_TOKEN_COUNT_COMPLETION_DETAILS_AUDIO: "llm.token_count.completion_details.audio"
ReadonlyLLM_TOKEN_COUNT_COMPLETION_DETAILS_REASONING: "llm.token_count.completion_details.reasoning"
ReadonlyLLM_TOKEN_COUNT_PROMPT: "llm.token_count.prompt"
ReadonlyLLM_TOKEN_COUNT_PROMPT_DETAILS: "llm.token_count.prompt_details"
ReadonlyLLM_TOKEN_COUNT_PROMPT_DETAILS_AUDIO: "llm.token_count.prompt_details.audio"
ReadonlyLLM_TOKEN_COUNT_PROMPT_DETAILS_CACHE_READ: "llm.token_count.prompt_details.cache_read"
ReadonlyLLM_TOKEN_COUNT_PROMPT_DETAILS_CACHE_WRITE: "llm.token_count.prompt_details.cache_write"
ReadonlyLLM_TOKEN_COUNT_TOTAL: "llm.token_count.total"
ReadonlyMESSAGE_CONTENT: "message.content"
ReadonlyMESSAGE_CONTENT_IMAGE: "message_content.image"
ReadonlyMESSAGE_CONTENT_TEXT: "message_content.text"
ReadonlyMESSAGE_CONTENT_TYPE: "message_content.type"
ReadonlyMESSAGE_CONTENTS: "message.contents"
ReadonlyMESSAGE_FUNCTION_CALL_ARGUMENTS_JSON: "message.function_call_arguments_json"
ReadonlyMESSAGE_FUNCTION_CALL_NAME: "message.function_call_name"
ReadonlyMESSAGE_NAME: "message.name"
ReadonlyMESSAGE_ROLE: "message.role"
ReadonlyOPENINFERENCE_SPAN_KIND: "openinference.span.kind"
ReadonlyOUTPUT_MIME_TYPE: "output.mime_type"
ReadonlyOUTPUT_VALUE: "output.value"
ReadonlyPROMPT_ID: "prompt.id"
ReadonlyPROMPT_TEMPLATE_TEMPLATE: "llm.prompt_template.template"
ReadonlyPROMPT_TEMPLATE_VARIABLES: "llm.prompt_template.variables"
ReadonlyPROMPT_TEMPLATE_VERSION: "llm.prompt_template.version"
ReadonlyPROMPT_URL: "prompt.url"
ReadonlyPROMPT_VENDOR: "prompt.vendor"
ReadonlyRERANKER_MODEL_NAME: "reranker.model_name"
ReadonlyRERANKER_OUTPUT_DOCUMENTS: "reranker.output_documents"
ReadonlyRERANKER_QUERY: "reranker.query"
ReadonlyRERANKER_TOP_K: "reranker.top_k"
ReadonlyRETRIEVAL_DOCUMENTS: "retrieval.documents"
ReadonlySESSION_ID: "session.id"
ReadonlyUSER_ID: "user.id"