Skip to content
1 min read · 22 words

Type Alias: VectorInput ​

ts
type VectorInput =
  | number[]
  | {
      text: string;
    };

Defined in: src/batteries/vector/types.ts:54

Input to the encoder: either a raw vector array or raw text to be embedded.