Embedding - TypeScript SDK

Embedding type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Embedding vector as an array of floats or a base64 string

Supported Types

number[]

1const value: number[] = [
2 0.0023064255,
3 -0.009327292,
4 0.015797347,
5];

string

1const value: string = "<value>";