The SingleStoreSink class is designed to interact with SingleStore databases, offering functionality for storing vectors and performing similarity searches.

Properties

Required properties:

  • url: The connection URL to the SingleStore database.
  • api_key: The API key for accessing SingleStore services.
  • collection_name: The name of the collection (table) within the SingleStore database to operate upon.
from neumai.SinkConnectors import SingleStoreSink

# Configure the SingleStoreSink with the necessary connection information
singlestore_sink = SingleStoreSink(
    url = "your-singlestore-db-url",
    api_key = "your-api-key",
    collection_name = "collection-name"
)