From 9300a6def5c14a6b7faa6d5881b7582b39bc707c Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Tue, 10 Dec 2024 13:32:07 +0800 Subject: [PATCH] more Signed-off-by: Adrian Cole --- .chloggen/1655.yaml | 4 +++- docs/attributes-registry/gen-ai.md | 4 ++++ docs/gen-ai/gen-ai-events.md | 4 ++++ docs/gen-ai/gen-ai-metrics.md | 20 ++++++++++++++++++++ docs/gen-ai/gen-ai-spans.md | 4 ++++ model/gen-ai/registry.yaml | 16 ++++++++++++++++ 6 files changed, 51 insertions(+), 1 deletion(-) diff --git a/.chloggen/1655.yaml b/.chloggen/1655.yaml index e3d0ce5cb1..d15da0a393 100644 --- a/.chloggen/1655.yaml +++ b/.chloggen/1655.yaml @@ -10,7 +10,9 @@ change_type: enhancement component: genai # A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Add az.ai.openai and gemini as gen_ai.system attribute values. Elaborate impact of systems that are accessible via OpenAI. +note: | + Adds OpenAI API compatible `gen_ai.system` attribute values: `az.ai.openai`, `deepseek`, `gemini`, `groq`, + `perplexity` and `xai`. Elaborates that `openai` can be ambiguous due to API emulation. # Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. # The values here must be integers. diff --git a/docs/attributes-registry/gen-ai.md b/docs/attributes-registry/gen-ai.md index 6de0f11a60..80903a65af 100644 --- a/docs/attributes-registry/gen-ai.md +++ b/docs/attributes-registry/gen-ai.md @@ -71,10 +71,14 @@ If none of these options apply, the `gen_ai.system` SHOULD be set to `_OTHER`. | `az.ai.inference` | Azure AI Inference | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `az.ai.openai` | Azure OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `cohere` | Cohere | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `deepseek` | DeepSeek | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `gemini` | Gemini | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `groq` | Groq | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `ibm.watsonx.ai` | IBM Watsonx AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `openai` | OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `perplexity` | Perplexity | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `vertex_ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `xai` | xAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | --- diff --git a/docs/gen-ai/gen-ai-events.md b/docs/gen-ai/gen-ai-events.md index 7b5d68b5ee..5f5501211f 100644 --- a/docs/gen-ai/gen-ai-events.md +++ b/docs/gen-ai/gen-ai-events.md @@ -88,10 +88,14 @@ If none of these options apply, the `gen_ai.system` SHOULD be set to `_OTHER`. | `az.ai.inference` | Azure AI Inference | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `az.ai.openai` | Azure OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `cohere` | Cohere | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `deepseek` | DeepSeek | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `gemini` | Gemini | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `groq` | Groq | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `ibm.watsonx.ai` | IBM Watsonx AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `openai` | OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `perplexity` | Perplexity | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `vertex_ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `xai` | xAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | diff --git a/docs/gen-ai/gen-ai-metrics.md b/docs/gen-ai/gen-ai-metrics.md index a361b392c6..ac473e6c76 100644 --- a/docs/gen-ai/gen-ai-metrics.md +++ b/docs/gen-ai/gen-ai-metrics.md @@ -108,10 +108,14 @@ If none of these options apply, the `gen_ai.system` SHOULD be set to `_OTHER`. | `az.ai.inference` | Azure AI Inference | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `az.ai.openai` | Azure OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `cohere` | Cohere | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `deepseek` | DeepSeek | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `gemini` | Gemini | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `groq` | Groq | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `ibm.watsonx.ai` | IBM Watsonx AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `openai` | OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `perplexity` | Perplexity | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `vertex_ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `xai` | xAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | --- @@ -205,10 +209,14 @@ Instrumentations SHOULD document the list of errors they report. | `az.ai.inference` | Azure AI Inference | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `az.ai.openai` | Azure OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `cohere` | Cohere | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `deepseek` | DeepSeek | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `gemini` | Gemini | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `groq` | Groq | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `ibm.watsonx.ai` | IBM Watsonx AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `openai` | OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `perplexity` | Perplexity | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `vertex_ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `xai` | xAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | @@ -300,10 +308,14 @@ Instrumentations SHOULD document the list of errors they report. | `az.ai.inference` | Azure AI Inference | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `az.ai.openai` | Azure OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `cohere` | Cohere | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `deepseek` | DeepSeek | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `gemini` | Gemini | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `groq` | Groq | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `ibm.watsonx.ai` | IBM Watsonx AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `openai` | OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `perplexity` | Perplexity | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `vertex_ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `xai` | xAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | @@ -382,10 +394,14 @@ If none of these options apply, the `gen_ai.system` SHOULD be set to `_OTHER`. | `az.ai.inference` | Azure AI Inference | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `az.ai.openai` | Azure OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `cohere` | Cohere | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `deepseek` | DeepSeek | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `gemini` | Gemini | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `groq` | Groq | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `ibm.watsonx.ai` | IBM Watsonx AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `openai` | OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `perplexity` | Perplexity | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `vertex_ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `xai` | xAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | @@ -463,10 +479,14 @@ If none of these options apply, the `gen_ai.system` SHOULD be set to `_OTHER`. | `az.ai.inference` | Azure AI Inference | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `az.ai.openai` | Azure OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `cohere` | Cohere | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `deepseek` | DeepSeek | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `gemini` | Gemini | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `groq` | Groq | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `ibm.watsonx.ai` | IBM Watsonx AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `openai` | OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `perplexity` | Perplexity | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `vertex_ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `xai` | xAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | diff --git a/docs/gen-ai/gen-ai-spans.md b/docs/gen-ai/gen-ai-spans.md index 1447a4d0c1..e58d68dd07 100644 --- a/docs/gen-ai/gen-ai-spans.md +++ b/docs/gen-ai/gen-ai-spans.md @@ -121,10 +121,14 @@ Instrumentations SHOULD document the list of errors they report. | `az.ai.inference` | Azure AI Inference | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `az.ai.openai` | Azure OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `cohere` | Cohere | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `deepseek` | DeepSeek | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `gemini` | Gemini | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `groq` | Groq | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `ibm.watsonx.ai` | IBM Watsonx AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `openai` | OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `perplexity` | Perplexity | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `vertex_ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `xai` | xAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | diff --git a/model/gen-ai/registry.yaml b/model/gen-ai/registry.yaml index 9ada28ea41..e60badab3f 100644 --- a/model/gen-ai/registry.yaml +++ b/model/gen-ai/registry.yaml @@ -45,6 +45,22 @@ groups: stability: experimental value: "aws.bedrock" brief: 'AWS Bedrock' + - id: perplexity + stability: experimental + value: "perplexity" + brief: 'Perplexity' + - id: xai + stability: experimental + value: "xai" + brief: 'xAI' + - id: deepseek + stability: experimental + value: "deepseek" + brief: 'DeepSeek' + - id: groq + stability: experimental + value: "groq" + brief: 'Groq' brief: The Generative AI product as identified by the client or server instrumentation. note: |