Constant GEN_AI_REQUEST_ENCODING_FORMATS

Source
pub const GEN_AI_REQUEST_ENCODING_FORMATS: &str = "gen_ai.request.encoding_formats";
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", ]