CohereEmbedding
CohereEmbedding =
object
Defined in: packages/cloud/src/client/types.gen.ts:1739
Properties
model_name?
optional
model_name:string
Defined in: packages/cloud/src/client/types.gen.ts:1743
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:1747
The batch size for embedding calls.
num_workers?
optional
num_workers:number
|null
Defined in: packages/cloud/src/client/types.gen.ts:1751
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:1755
The Cohere API key.
truncate?
optional
truncate:string
Defined in: packages/cloud/src/client/types.gen.ts:1759
Truncation type - START/ END/ NONE
input_type?
optional
input_type:string
|null
Defined in: packages/cloud/src/client/types.gen.ts:1763
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:1767
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:1768