Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions specification/inference/_types/CommonTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,8 @@ export class CohereServiceSettings {
api_key: string
/**
* For a `text_embedding` task, the types of embeddings you want to get back.
* Use `binary` for binary embeddings, which are encoded as bytes with signed int8 precision.
* Use `bit` for binary embeddings, which are encoded as bytes with signed int8 precision (this is a synonym of `binary`).
* Use `byte` for signed int8 embeddings (this is a synonym of `int8`).
* Use `float` for the default float embeddings.
* Use `int8` for signed int8 embeddings.
Expand Down Expand Up @@ -625,6 +627,8 @@ export enum CohereServiceType {
}

export enum CohereEmbeddingType {
binary,
bit,
byte,
float,
int8
Expand Down