VoyClient: {
add: ((resource: Resource) => void);
clear: (() => void);
index: ((resource: Resource) => void);
search: ((query: Float32Array, k: number) => SearchResult);
}
Type declaration
add: ((resource: Resource) => void)
- (resource): void
Returns void
clear: (() => void)
index: ((resource: Resource) => void)
- (resource): void
Returns void
search: ((query: Float32Array, k: number) => SearchResult)
- (query, k): SearchResult
Parameters
- query: Float32Array
- k: number
Returns SearchResult