Skip to content

docs: hnswlib cosine distance #1475

@anna-charlotte

Description

@anna-charlotte

Specify in the documentation of the HnswLibDocIndex that 'cosine' refers to cosine distance, not cosine similarity.
In the hnswlib documentation they claim it to be similarity, but it actually is distance. I opened an issue on their side, and they will change it in their documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions