GEN_AI_REQUEST_ENCODING_FORMATS

Constant GEN_AI_REQUEST_ENCODING_FORMATS 

pub const GEN_AI_REQUEST_ENCODING_FORMATS: &'static str;
Available on crate features opentelemetry and semconv_experimental only.
Expand description

The encoding formats requested in an embeddings operation, if specified.

§Notes

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", ]