Logo
Type aliases

GeminiEmbedding

GeminiEmbedding = object

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

Properties

model_name?

optional model_name: string

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

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:2734

The batch size for embedding calls.


num_workers?

optional num_workers: number | null

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

The number of workers to use for async embedding calls.


title?

optional title: string | null

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

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:2746

The task for embedding model.


api_key?

optional api_key: string | null

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

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:2754

API base to access the model. Defaults to None.


transport?

optional transport: string | null

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

Transport to access the model. Defaults to None.


class_name?

optional class_name: string

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

On this page