VectorStoreConnectorRegistry 

Purpose 

Resolves vector store connectors for writing, searching and deleting vector documents.

Required interface 

Madj2k\AiCore\Connection\VectorStore\VectorStoreConnectorInterface

Service registration 

Register implementations through a service tag:

services:
  Vendor\Extension\Connection\VectorStore\MyVectorStoreConnector:
    tags:
      - name: 'aiassistant.connection.vector_store_connector'
Copied!

Identifier 

The implementation should expose a stable identifier. Configuration records use that identifier to resolve the implementation at runtime.

Implementation rules 

  • Keep services stateless where possible.
  • Read credentials and runtime options from configuration records.
  • Throw meaningful exceptions for invalid configuration.
  • Return core DTOs rather than provider-specific arrays where interfaces define DTOs.