File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
specification/inference/_types Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -585,6 +585,8 @@ export class CohereServiceSettings {
585585 api_key : string
586586 /**
587587 * For a `text_embedding` task, the types of embeddings you want to get back.
588+ * Use `binary` for binary embeddings, which are encoded as bytes with signed int8 precision.
589+ * Use `bit` for binary embeddings, which are encoded as bytes with signed int8 precision (this is a synonym of `binary`).
588590 * Use `byte` for signed int8 embeddings (this is a synonym of `int8`).
589591 * Use `float` for the default float embeddings.
590592 * Use `int8` for signed int8 embeddings.
@@ -625,6 +627,8 @@ export enum CohereServiceType {
625627}
626628
627629export enum CohereEmbeddingType {
630+ binary ,
631+ bit ,
628632 byte ,
629633 float ,
630634 int8
You can’t perform that action at this time.
0 commit comments