Attributes
- Companion
- class
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PgVectorStore.type
Members list
Type members
Classlikes
Configuration for PgVectorStore.
Configuration for PgVectorStore.
Value parameters
- database
-
Database name
- host
-
Database host
- maxPoolSize
-
Maximum connection pool size (default: 10)
- password
-
Database password
- port
-
Database port
- tableName
-
Table name for vectors (default: "vectors")
- user
-
Database user
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Create a PgVectorStore from configuration.
Create a PgVectorStore from configuration.
Value parameters
- config
-
The store configuration
Attributes
- Returns
-
The vector store or error
Create a PgVectorStore from connection string.
Create a PgVectorStore from connection string.
Value parameters
- connectionString
-
PostgreSQL connection string (jdbc:postgresql://...)
- password
-
Database password
- tableName
-
Table name for vectors
- user
-
Database user
Attributes
- Returns
-
The vector store or error
Create a PgVectorStore with default local settings.
Create a PgVectorStore with default local settings.
Connects to localhost:5432/postgres with user postgres.
Value parameters
- tableName
-
Table name for vectors
Attributes
- Returns
-
The vector store or error