Skip to content

ANN support? #7

@astoilkov

Description

@astoilkov

I see the implementation uses cosine similarity. Performance gains come from normalizing the embeddings and caching them.

Have you considered ANN? I guess something like https://github.com/DanielKRing1/Annoy.js?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions