Logo
Type aliases

CohereEmbedding

CohereEmbedding = object

Defined in: packages/cloud/src/client/types.gen.ts:1259

Properties

model_name?

optional model_name: string

Defined in: packages/cloud/src/client/types.gen.ts:1263

The modelId of the Cohere model to use.


embed_batch_size?

optional embed_batch_size: number

Defined in: packages/cloud/src/client/types.gen.ts:1267

The batch size for embedding calls.


num_workers?

optional num_workers: number | null

Defined in: packages/cloud/src/client/types.gen.ts:1271

The number of workers to use for async embedding calls.


api_key

api_key: string | null

Defined in: packages/cloud/src/client/types.gen.ts:1275

The Cohere API key.


truncate?

optional truncate: string

Defined in: packages/cloud/src/client/types.gen.ts:1279

Truncation type - START/ END/ NONE


input_type?

optional input_type: string | null

Defined in: packages/cloud/src/client/types.gen.ts:1283

Model Input type. If not provided, search_document and search_query are used when needed.


embedding_type?

optional embedding_type: string

Defined in: packages/cloud/src/client/types.gen.ts:1287

Embedding type. If not provided float embedding_type is used when needed.


class_name?

optional class_name: string

Defined in: packages/cloud/src/client/types.gen.ts:1288

On this page