Code Monkey home page Code Monkey logo

voyager's Introduction

The word Voyager_in blue, with a multicoloured graphic illustrating an orbit to its left.

License: Apache 2.0 Documentation Supported Platforms Apple Silicon support for macOS and Linux (Docker) Test Badge

Voyager is a library for performing fast approximate nearest-neighbor searches on an in-memory collection of vectors.

Voyager features bindings to both Python and Java, with feature parity and index compatibility between both languages. It uses the HNSW algorithm, based on the open-source hnswlib package, with numerous features added for convenience and speed. Voyager is used extensively in production at Spotify, and is queried hundreds of millions of times per day to power numerous user-facing features.

Think of Voyager like Sparkey, but for vector/embedding data; or like Annoy, but with much higher recall. It got its name because it searches through (embedding) space(s), much like the Voyager interstellar probes launched by NASA in 1977.

Python Documentation Java Documentation

Installation

Python

pip install voyager

Java

Add the following artifact to your pom.xml:

<dependency>
  <groupId>com.spotify</groupId>
  <artifactId>voyager</artifactId>
  <version>2.0.4</version>
</dependency>

You can find the latest version on Voyager's Releases page.

Scala

Add the following artifact to your build.sbt:

"com.spotify" % "voyager" % "2.0.4"

You can find the latest version on Voyager's Releases page.

Compatibility

OS Language Version x86_64 (Intel) arm64 (ARM)
Linux Python 3.7 โœ… โœ…
Linux Python 3.8 โœ… โœ…
Linux Python 3.9 โœ… โœ…
Linux Python 3.10 โœ… โœ…
Linux Python 3.11 โœ… โœ…
Linux Python 3.12 โœ… โœ…
Linux Java 8-16+ โœ… โœ…
macOS Python 3.7 โœ… โœ…
macOS Python 3.8 โœ… โœ…
macOS Python 3.9 โœ… โœ…
macOS Python 3.10 โœ… โœ…
macOS Python 3.11 โœ… โœ…
macOS Python 3.12 โœ… โœ…
macOS Java 8-16+ โœ… โœ…
Windows Python 3.7 โœ… โŒ
Windows Python 3.8 โœ… โŒ
Windows Python 3.9 โœ… โŒ
Windows Python 3.10 โœ… โŒ
Windows Python 3.11 โœ… โŒ
Windows Python 3.12 โœ… โŒ
Windows Java 8-16+ โœ… โŒ

Contributing

Contributions to voyager are welcomed! See CONTRIBUTING.md for details.

License

Voyager is copyright 2022-2024 Spotify AB.

Voyager is licensed under the Apache 2 License.

voyager's People

Contributors

psobot avatar dylanrb123 avatar markkohdev avatar samek avatar perploug avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.