Skip to main content

Vector-searcher service

The vector-comparison service is a standalone, (id, vector) only, vector-database, which may be deployed to externalize vector-search from the databackend.

Here's how to deploy it:

superduperdb vector-searcher

Here are the endpoints:

Create searcher​

  • Method: POST

  • Endpoint: /create

  • Parameters:

    nametypedescriptionrequired
    vector_indexstringName of the corresponding VectorIndexyes
    measurestringType of measure function to compare vectorsyes

List searchers​

  • Method: GET
  • Endpoint: /list

Add vectors to searcher​

  • Method: POST

  • Endpoint: /add

  • Parameters:

    nametypedescriptionrequired
    vector_indexstringName of the corresponding VectorIndexyes
    vectorsJSONlist of (id, vector)yes

Remove vectors from searcher​

  • Method: POST

  • Endpoint: /remove

  • Parameters:

    nametypedescriptionrequired
    vector_indexstringName of the corresponding VectorIndexyes
    vectorsJSONlist of idyes

Delete searcher​

  • Method: POST

  • Endpoint: /remove

  • Parameters:

    nametypedescriptionrequired
    vector_indexstringName of the corresponding VectorIndexyes