Databases

Database controller have endpoints to manipulate with your vector collections. It includes endpoints for load data to collection, delete data and send query to find

POST /load/{vectorCollectionId}

This endpoint loads data to collection. Response body must include the field “data” which must be a string array with data which you want to add to your collection.

Example request:

DELETE /delete/{vectorCollectionId}

This endpoint can delete all data from the provided collection.

Example request:

GET /query/{vectorCollectionId}

This endpoint sends a query to your vector database and returns closest values from the vectors. You must provide the query parameter “query” with your query in a string.

Example request:

Example response:

Last updated