Insert vectors into the database.
The name of the content.
The content.
The index of the vectors.
The vectors to insert.
Search for the k nearest vectors.
The vector to search for.
The number of nearest vectors to return.
Optional
minRelevance: numberThe minimum relevance of the vectors (default 0).
Optional
contentSize: numberThe size of the content to return (content +/- contentSize, default 0).
An array of search results.
The interface for the vector database.