EncodingFormat - TypeScript SDK

EncodingFormat type definition

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

The format of the output embeddings

Example Usage

1import { EncodingFormat } from "@openrouter/sdk/models/operations";
2
3let value: EncodingFormat = "float";
4
5// Open enum: unrecognized values are captured as Unrecognized<string>

Values

1"float" | "base64" | Unrecognized<string>