Logo
Type aliases

VertexTextEmbedding

VertexTextEmbedding = object

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

Properties

model_name?

optional model_name: string

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

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

The batch size for embedding calls.


num_workers?

optional num_workers: number | null

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

The number of workers to use for async embedding calls.


location

location: string

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

The default location to use when making API calls.


project

project: string

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

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

The embedding mode to use.


additional_kwargs?

optional additional_kwargs: object

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

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

The client email for the VertexAI credentials.


token_uri

token_uri: string | null

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

The token URI for the VertexAI credentials.


private_key_id

private_key_id: string | null

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

The private key ID for the VertexAI credentials.


private_key

private_key: string | null

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

The private key for the VertexAI credentials.


class_name?

optional class_name: string

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

On this page