gen_ai.request.encoding_formats
The encoding formats requested in an embeddings operation, if specified.
In some GenAI systems the encoding formats are called embedding types. Also, some GenAI systems only accept a single format per request.
Examples
- ["base64"]
- ["float","binary"]
Used by
spans (1)
- span.gen_ai.embeddings.client
* required on that signal.
History
- v1.42.0deprecated
Moved to the OpenTelemetry GenAI semantic conventions repository.
No longer referenced by
attributes.gen_ai.openai_based,span.gen_ai.az.ai.inference.clientand 4 others.Now referenced by
span.gen_ai.embeddings.client(recommended).No longer referenced by
trace.gen_ai.az.ai.inference.client.Now referenced by
attributes.gen_ai.openai_based,span.gen_ai.az.ai.inference.clientand 1 other (recommended).Stability label respelled from experimental to development.
Already present at v1.30.0, the oldest release tracked here (experimental).