Skip to Content
SdkClientInternalType AliasesLlmapiEmbeddingRequest

LlmapiEmbeddingRequest

LlmapiEmbeddingRequest = object

Defined in: src/client/types.gen.ts:597 

Properties

dimensions?

optional dimensions: number

Defined in: src/client/types.gen.ts:601 

Dimensions is the number of dimensions the resulting output embeddings should have (optional)


encoding_format?

optional encoding_format: string

Defined in: src/client/types.gen.ts:605 

EncodingFormat is the format to return the embeddings in (optional: “float” or “base64”)


input

input: unknown

Defined in: src/client/types.gen.ts:609 

Input text or tokens to embed (can be string, []string, []int, or [][]int)


model

model: string

Defined in: src/client/types.gen.ts:613 

Model identifier in ‘provider/model’ format

Last updated on