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 {
585
585
api_key : string
586
586
/**
587
587
* 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`).
588
590
* Use `byte` for signed int8 embeddings (this is a synonym of `int8`).
589
591
* Use `float` for the default float embeddings.
590
592
* Use `int8` for signed int8 embeddings.
@@ -625,6 +627,8 @@ export enum CohereServiceType {
625
627
}
626
628
627
629
export enum CohereEmbeddingType {
630
+ binary ,
631
+ bit ,
628
632
byte ,
629
633
float ,
630
634
int8
You can’t perform that action at this time.
0 commit comments