Skip to content

Improve vector search engine #5

@c-w

Description

@c-w

E.g. normalize vectors to unit norm and use dot product instead of cosine similarity as metric. Should be very fast.

Some benchmarks and snippets thanks to Tim Scarfe:

image
image
image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions