UNPKG

ai-utils.js

Version:

Build AI applications, chatbots, and agents with JavaScript and TypeScript.

6 lines (5 loc) 151 B
/** * A vector is an array of numbers. * It is e.g. used to represent a text as a vector of word embeddings. */ export type Vector = Array<number>;