Skip to content
Niu DocsNiu 牛元文档
Dashboard控制台

EmbeddingRequest

Generated from the checked-in source. Do not edit this reference by hand.

SDK source. All SDK types.

TypeScript
export type EmbeddingRequest = {
model: string;
input: string | string[];
encoding_format?: 'float' | 'base64';
dimensions?: number;
user?: string;
};