NVIDIA DeepStream SDK API Reference

9.2 Release
includes/opentelemetry/semconv/incubating/gen_ai_attributes.h File Reference

Go to the source code of this file.

Namespaces

 semconv
 
 semconv::gen_ai
 
 semconv::gen_ai::GenAiOpenaiRequestResponseFormatValues
 
 semconv::gen_ai::GenAiOpenaiRequestServiceTierValues
 
 semconv::gen_ai::GenAiOperationNameValues
 
 semconv::gen_ai::GenAiOutputTypeValues
 
 semconv::gen_ai::GenAiProviderNameValues
 
 semconv::gen_ai::GenAiSystemValues
 
 semconv::gen_ai::GenAiTokenTypeValues
 

Variables

static constexpr const char * semconv::gen_ai::kGenAiAgentDescription = "gen_ai.agent.description"
 Free-form description of the GenAI agent provided by the application. More...
 
static constexpr const char * semconv::gen_ai::kGenAiAgentId = "gen_ai.agent.id"
 The unique identifier of the GenAI agent. More...
 
static constexpr const char * semconv::gen_ai::kGenAiAgentName = "gen_ai.agent.name"
 Human-readable name of the GenAI agent provided by the application. More...
 
static constexpr const OPENTELEMETRY_DEPRECATED char * semconv::gen_ai::kGenAiCompletion = "gen_ai.completion"
 Deprecated, use Event API to report completions contents. More...
 
static constexpr const char * semconv::gen_ai::kGenAiConversationId = "gen_ai.conversation.id"
 The unique identifier for a conversation (session, thread), used to store and correlate messages within this conversation. More...
 
static constexpr const char * semconv::gen_ai::kGenAiDataSourceId = "gen_ai.data_source.id"
 The data source identifier. More...
 
static constexpr const char * semconv::gen_ai::kGenAiInputMessages = "gen_ai.input.messages"
 The chat history provided to the model as an input. More...
 
static constexpr const OPENTELEMETRY_DEPRECATED char * semconv::gen_ai::kGenAiOpenaiRequestResponseFormat
 Deprecated, use. More...
 
static constexpr const OPENTELEMETRY_DEPRECATED char * semconv::gen_ai::kGenAiOpenaiRequestSeed
 Deprecated, use. More...
 
static constexpr const OPENTELEMETRY_DEPRECATED char * semconv::gen_ai::kGenAiOpenaiRequestServiceTier
 Deprecated, use. More...
 
static constexpr const OPENTELEMETRY_DEPRECATED char * semconv::gen_ai::kGenAiOpenaiResponseServiceTier
 Deprecated, use. More...
 
static constexpr const OPENTELEMETRY_DEPRECATED char * semconv::gen_ai::kGenAiOpenaiResponseSystemFingerprint
 Deprecated, use. More...
 
static constexpr const char * semconv::gen_ai::kGenAiOperationName = "gen_ai.operation.name"
 The name of the operation being performed. More...
 
static constexpr const char * semconv::gen_ai::kGenAiOutputMessages = "gen_ai.output.messages"
 Messages returned by the model where each message represents a specific model response (choice, candidate). More...
 
static constexpr const char * semconv::gen_ai::kGenAiOutputType = "gen_ai.output.type"
 Represents the content type requested by the client. More...
 
static constexpr const OPENTELEMETRY_DEPRECATED char * semconv::gen_ai::kGenAiPrompt = "gen_ai.prompt"
 Deprecated, use Event API to report prompt contents. More...
 
static constexpr const char * semconv::gen_ai::kGenAiProviderName = "gen_ai.provider.name"
 The Generative AI provider as identified by the client or server instrumentation. More...
 
static constexpr const char * semconv::gen_ai::kGenAiRequestChoiceCount = "gen_ai.request.choice.count"
 The target number of candidate completions to return. More...
 
static constexpr const char * semconv::gen_ai::kGenAiRequestEncodingFormats = "gen_ai.request.encoding_formats"
 The encoding formats requested in an embeddings operation, if specified. More...
 
static constexpr const char * semconv::gen_ai::kGenAiRequestFrequencyPenalty = "gen_ai.request.frequency_penalty"
 The frequency penalty setting for the GenAI request. More...
 
static constexpr const char * semconv::gen_ai::kGenAiRequestMaxTokens = "gen_ai.request.max_tokens"
 The maximum number of tokens the model generates for a request. More...
 
static constexpr const char * semconv::gen_ai::kGenAiRequestModel = "gen_ai.request.model"
 The name of the GenAI model a request is being made to. More...
 
static constexpr const char * semconv::gen_ai::kGenAiRequestPresencePenalty = "gen_ai.request.presence_penalty"
 The presence penalty setting for the GenAI request. More...
 
static constexpr const char * semconv::gen_ai::kGenAiRequestSeed = "gen_ai.request.seed"
 Requests with same seed value more likely to return same result. More...
 
static constexpr const char * semconv::gen_ai::kGenAiRequestStopSequences = "gen_ai.request.stop_sequences"
 List of sequences that the model will use to stop generating further tokens. More...
 
static constexpr const char * semconv::gen_ai::kGenAiRequestTemperature = "gen_ai.request.temperature"
 The temperature setting for the GenAI request. More...
 
static constexpr const char * semconv::gen_ai::kGenAiRequestTopK = "gen_ai.request.top_k"
 The top_k sampling setting for the GenAI request. More...
 
static constexpr const char * semconv::gen_ai::kGenAiRequestTopP = "gen_ai.request.top_p"
 The top_p sampling setting for the GenAI request. More...
 
static constexpr const char * semconv::gen_ai::kGenAiResponseFinishReasons = "gen_ai.response.finish_reasons"
 Array of reasons the model stopped generating tokens, corresponding to each generation received. More...
 
static constexpr const char * semconv::gen_ai::kGenAiResponseId = "gen_ai.response.id"
 The unique identifier for the completion. More...
 
static constexpr const char * semconv::gen_ai::kGenAiResponseModel = "gen_ai.response.model"
 The name of the model that generated the response. More...
 
static constexpr const OPENTELEMETRY_DEPRECATED char * semconv::gen_ai::kGenAiSystem = "gen_ai.system"
 Deprecated, use. More...
 
static constexpr const char * semconv::gen_ai::kGenAiSystemInstructions = "gen_ai.system_instructions"
 The system message or instructions provided to the GenAI model separately from the chat history. More...
 
static constexpr const char * semconv::gen_ai::kGenAiTokenType = "gen_ai.token.type"
 The type of token being counted. More...
 
static constexpr const char * semconv::gen_ai::kGenAiToolCallId = "gen_ai.tool.call.id"
 The tool call identifier. More...
 
static constexpr const char * semconv::gen_ai::kGenAiToolDescription = "gen_ai.tool.description"
 The tool description. More...
 
static constexpr const char * semconv::gen_ai::kGenAiToolName = "gen_ai.tool.name"
 Name of the tool utilized by the agent. More...
 
static constexpr const char * semconv::gen_ai::kGenAiToolType = "gen_ai.tool.type"
 Type of the tool utilized by the agent. More...
 
static constexpr const OPENTELEMETRY_DEPRECATED char * semconv::gen_ai::kGenAiUsageCompletionTokens
 Deprecated, use. More...
 
static constexpr const char * semconv::gen_ai::kGenAiUsageInputTokens = "gen_ai.usage.input_tokens"
 The number of tokens used in the GenAI input (prompt). More...
 
static constexpr const char * semconv::gen_ai::kGenAiUsageOutputTokens = "gen_ai.usage.output_tokens"
 The number of tokens used in the GenAI response (completion). More...
 
static constexpr const OPENTELEMETRY_DEPRECATED char * semconv::gen_ai::kGenAiUsagePromptTokens
 Deprecated, use. More...
 
static constexpr const char * semconv::gen_ai::GenAiOpenaiRequestResponseFormatValues::kText = "text"
 Text response format. More...
 
static constexpr const char * semconv::gen_ai::GenAiOpenaiRequestResponseFormatValues::kJsonObject = "json_object"
 JSON object response format. More...
 
static constexpr const char * semconv::gen_ai::GenAiOpenaiRequestResponseFormatValues::kJsonSchema = "json_schema"
 JSON schema response format. More...
 
static constexpr const char * semconv::gen_ai::GenAiOpenaiRequestServiceTierValues::kAuto = "auto"
 The system will utilize scale tier credits until they are exhausted. More...
 
static constexpr const char * semconv::gen_ai::GenAiOpenaiRequestServiceTierValues::kDefault = "default"
 The system will utilize the default scale tier. More...
 
static constexpr const char * semconv::gen_ai::GenAiOperationNameValues::kChat = "chat"
 Chat completion operation such as OpenAI Chat API More...
 
static constexpr const char * semconv::gen_ai::GenAiOperationNameValues::kGenerateContent = "generate_content"
 Multimodal content generation operation such as Gemini Generate Content More...
 
static constexpr const char * semconv::gen_ai::GenAiOperationNameValues::kTextCompletion = "text_completion"
 Text completions operation such as OpenAI Completions API (Legacy) More...
 
static constexpr const char * semconv::gen_ai::GenAiOperationNameValues::kEmbeddings = "embeddings"
 Embeddings operation such as OpenAI Create embeddings API More...
 
static constexpr const char * semconv::gen_ai::GenAiOperationNameValues::kCreateAgent = "create_agent"
 Create GenAI agent. More...
 
static constexpr const char * semconv::gen_ai::GenAiOperationNameValues::kInvokeAgent = "invoke_agent"
 Invoke GenAI agent. More...
 
static constexpr const char * semconv::gen_ai::GenAiOperationNameValues::kExecuteTool = "execute_tool"
 Execute a tool. More...
 
static constexpr const char * semconv::gen_ai::GenAiOutputTypeValues::kText = "text"
 Plain text. More...
 
static constexpr const char * semconv::gen_ai::GenAiOutputTypeValues::kJson = "json"
 JSON object with known or unknown schema. More...
 
static constexpr const char * semconv::gen_ai::GenAiOutputTypeValues::kImage = "image"
 Image. More...
 
static constexpr const char * semconv::gen_ai::GenAiOutputTypeValues::kSpeech = "speech"
 Speech. More...
 
static constexpr const char * semconv::gen_ai::GenAiProviderNameValues::kOpenai = "openai"
 OpenAI More...
 
static constexpr const char * semconv::gen_ai::GenAiProviderNameValues::kGcpGenAi = "gcp.gen_ai"
 Any Google generative AI endpoint. More...
 
static constexpr const char * semconv::gen_ai::GenAiProviderNameValues::kGcpVertexAi = "gcp.vertex_ai"
 Vertex AI More...
 
static constexpr const char * semconv::gen_ai::GenAiProviderNameValues::kGcpGemini = "gcp.gemini"
 Gemini More...
 
static constexpr const char * semconv::gen_ai::GenAiProviderNameValues::kAnthropic = "anthropic"
 Anthropic More...
 
static constexpr const char * semconv::gen_ai::GenAiProviderNameValues::kCohere = "cohere"
 Cohere More...
 
static constexpr const char * semconv::gen_ai::GenAiProviderNameValues::kAzureAiInference = "azure.ai.inference"
 Azure AI Inference. More...
 
static constexpr const char * semconv::gen_ai::GenAiProviderNameValues::kAzureAiOpenai = "azure.ai.openai"
 Azure OpenAI More...
 
static constexpr const char * semconv::gen_ai::GenAiProviderNameValues::kIbmWatsonxAi = "ibm.watsonx.ai"
 IBM Watsonx AI More...
 
static constexpr const char * semconv::gen_ai::GenAiProviderNameValues::kAwsBedrock = "aws.bedrock"
 AWS Bedrock More...
 
static constexpr const char * semconv::gen_ai::GenAiProviderNameValues::kPerplexity = "perplexity"
 Perplexity More...
 
static constexpr const char * semconv::gen_ai::GenAiProviderNameValues::kXAi = "x_ai"
 xAI More...
 
static constexpr const char * semconv::gen_ai::GenAiProviderNameValues::kDeepseek = "deepseek"
 DeepSeek More...
 
static constexpr const char * semconv::gen_ai::GenAiProviderNameValues::kGroq = "groq"
 Groq More...
 
static constexpr const char * semconv::gen_ai::GenAiProviderNameValues::kMistralAi = "mistral_ai"
 Mistral AI More...
 
static constexpr const char * semconv::gen_ai::GenAiSystemValues::kOpenai = "openai"
 OpenAI. More...
 
static constexpr const char * semconv::gen_ai::GenAiSystemValues::kGcpGenAi = "gcp.gen_ai"
 Any Google generative AI endpoint. More...
 
static constexpr const char * semconv::gen_ai::GenAiSystemValues::kGcpVertexAi = "gcp.vertex_ai"
 Vertex AI. More...
 
static constexpr const char * semconv::gen_ai::GenAiSystemValues::kGcpGemini = "gcp.gemini"
 Gemini. More...
 
static constexpr const OPENTELEMETRY_DEPRECATED char * semconv::gen_ai::GenAiSystemValues::kVertexAi = "vertex_ai"
 Vertex AI. More...
 
static constexpr const OPENTELEMETRY_DEPRECATED char * semconv::gen_ai::GenAiSystemValues::kGemini = "gemini"
 Gemini. More...
 
static constexpr const char * semconv::gen_ai::GenAiSystemValues::kAnthropic = "anthropic"
 Anthropic. More...
 
static constexpr const char * semconv::gen_ai::GenAiSystemValues::kCohere = "cohere"
 Cohere. More...
 
static constexpr const char * semconv::gen_ai::GenAiSystemValues::kAzAiInference = "az.ai.inference"
 Azure AI Inference. More...
 
static constexpr const char * semconv::gen_ai::GenAiSystemValues::kAzAiOpenai = "az.ai.openai"
 Azure OpenAI. More...
 
static constexpr const char * semconv::gen_ai::GenAiSystemValues::kAzureAiInference = "azure.ai.inference"
 Azure AI Inference. More...
 
static constexpr const char * semconv::gen_ai::GenAiSystemValues::kAzureAiOpenai = "azure.ai.openai"
 Azure OpenAI. More...
 
static constexpr const char * semconv::gen_ai::GenAiSystemValues::kIbmWatsonxAi = "ibm.watsonx.ai"
 IBM Watsonx AI. More...
 
static constexpr const char * semconv::gen_ai::GenAiSystemValues::kAwsBedrock = "aws.bedrock"
 AWS Bedrock. More...
 
static constexpr const char * semconv::gen_ai::GenAiSystemValues::kPerplexity = "perplexity"
 Perplexity. More...
 
static constexpr const OPENTELEMETRY_DEPRECATED char * semconv::gen_ai::GenAiSystemValues::kXai = "xai"
 xAI More...
 
static constexpr const char * semconv::gen_ai::GenAiSystemValues::kDeepseek = "deepseek"
 DeepSeek. More...
 
static constexpr const char * semconv::gen_ai::GenAiSystemValues::kGroq = "groq"
 Groq. More...
 
static constexpr const char * semconv::gen_ai::GenAiSystemValues::kMistralAi = "mistral_ai"
 Mistral AI. More...
 
static constexpr const char * semconv::gen_ai::GenAiTokenTypeValues::kInput = "input"
 Input tokens (prompt, input, etc.) More...
 
static constexpr const OPENTELEMETRY_DEPRECATED char * semconv::gen_ai::GenAiTokenTypeValues::kCompletion = "output"
 Output tokens (completion, response, etc.) More...
 
static constexpr const char * semconv::gen_ai::GenAiTokenTypeValues::kOutput = "output"
 Output tokens (completion, response, etc.) More...