Client
This module contains functionality related to the the client
module for embedding.vector_stores.pgvector
.
Client
PGVectorStoreClientFactory
Bases: SingletonFactory
Factory class for creating and managing a singleton instance of the PGVector database client.
This factory ensures that only one connection to the PGVector database is maintained throughout the application lifecycle, following the Singleton pattern.
Source code in src/embedding/vector_stores/pgvector/client.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
|