File tree Expand file tree Collapse file tree
develop-docs/sdk/telemetry/traces/modules Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,25 +126,10 @@ This span represents a request to a provider to encode input into numeric vector
126126
127127Additional attributes on the span:
128128
129- ### Request Data
130-
131- | Attribute | Type | Description | Example |
132- | :-------------------------------- | :----- | :------------------------------------------------ | :--------------------------------------------- |
133- | ` gen_ai.embeddings.input ` | string | Input to embed. | ` '{"type": "text", "value": "Hello, world!"}' ` |
134- | ` gen_ai.request.encoding_formats ` | string | The encoding format requested for the embeddings. | ` "base64" ` |
135-
136- ### Response Data
137-
138- | Attribute | Type | Description | Example |
139- | :---------------------------------- | :----- | :----------------------------------------- | :------------- |
140- | ` gen_ai.response.id ` | string | Unique identifier for the completion. | ` "emb_abc123" ` |
141- | ` gen_ai.embeddings.dimension.count ` | int[ ] | The dimensions of the returned embeddings. | ` [1536] ` |
142-
143- ### Token Usage Data
144-
145- | Attribute | Type | Description | Example |
146- | :-------------------------- | :--- | :-------------------------------------- | :------ |
147- | ` gen_ai.usage.input_tokens ` | int | The number of tokens used in the input. | ` 60 ` |
129+ | Attribute | Type | Description | Example |
130+ | :-------------------------- | :----- | :-------------------------------------- | :--------------------------------------------- |
131+ | ` gen_ai.embeddings.input ` | string | Input to embed. | ` '{"type": "text", "value": "Hello, world!"}' ` |
132+ | ` gen_ai.usage.input_tokens ` | int | The number of tokens used in the input. | ` 60 ` |
148133
149134## Execute Tool Span
150135
You can’t perform that action at this time.
0 commit comments