Logo
Type aliases

VertexTextEmbedding

VertexTextEmbedding = object

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

Properties

model_name?

optional model_name: string

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

The modelId of the VertexAI model to use.


embed_batch_size?

optional embed_batch_size: number

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

The batch size for embedding calls.


num_workers?

optional num_workers: number | null

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

The number of workers to use for async embedding calls.


location

location: string

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

The default location to use when making API calls.


project

project: string

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

The default GCP project to use when making Vertex API calls.


embed_mode?

optional embed_mode: VertexEmbeddingMode

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

The embedding mode to use.


additional_kwargs?

optional additional_kwargs: object

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

Additional kwargs for the Vertex.

Index Signature

[key: string]: unknown


client_email

client_email: string | null

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

The client email for the VertexAI credentials.


token_uri

token_uri: string | null

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

The token URI for the VertexAI credentials.


private_key_id

private_key_id: string | null

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

The private key ID for the VertexAI credentials.


private_key

private_key: string | null

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

The private key for the VertexAI credentials.


class_name?

optional class_name: string

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