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
      • Parameters

        • resource: Resource

        Returns void

  • clear: (() => void)
      • (): void
      • Returns void

  • index: ((resource: Resource) => void)
      • (resource): void
      • Parameters

        • resource: Resource

        Returns void

  • search: ((query: Float32Array, k: number) => SearchResult)
      • (query, k): SearchResult
      • Parameters

        • query: Float32Array
        • k: number

        Returns SearchResult