GeminiEmbedding
GeminiEmbedding =
object
Defined in: packages/cloud/src/client/types.gen.ts:3445
Properties
model_name?
optional
model_name:string
Defined in: packages/cloud/src/client/types.gen.ts:3449
The modelId of the Gemini model to use.
embed_batch_size?
optional
embed_batch_size:number
Defined in: packages/cloud/src/client/types.gen.ts:3453
The batch size for embedding calls.
num_workers?
optional
num_workers:number
|null
Defined in: packages/cloud/src/client/types.gen.ts:3457
The number of workers to use for async embedding calls.
title?
optional
title:string
|null
Defined in: packages/cloud/src/client/types.gen.ts:3461
Title is only applicable for retrieval_document tasks, and is used to represent a document title. For other tasks, title is invalid.
task_type?
optional
task_type:string
|null
Defined in: packages/cloud/src/client/types.gen.ts:3465
The task for embedding model.
api_key?
optional
api_key:string
|null
Defined in: packages/cloud/src/client/types.gen.ts:3469
API key to access the model. Defaults to None.
api_base?
optional
api_base:string
|null
Defined in: packages/cloud/src/client/types.gen.ts:3473
API base to access the model. Defaults to None.
transport?
optional
transport:string
|null
Defined in: packages/cloud/src/client/types.gen.ts:3477
Transport to access the model. Defaults to None.
class_name?
optional
class_name:string
Defined in: packages/cloud/src/client/types.gen.ts:3478