PostgresDbClient(NpgsqlDataSource, String, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the PostgresDbClient class.
public PostgresDbClient (Npgsql.NpgsqlDataSource dataSource, string schema, int vectorSize);
new Microsoft.SemanticKernel.Connectors.Postgres.PostgresDbClient : Npgsql.NpgsqlDataSource * string * int -> Microsoft.SemanticKernel.Connectors.Postgres.PostgresDbClient
Public Sub New (dataSource As NpgsqlDataSource, schema As String, vectorSize As Integer)
Parameters
- dataSource
- Npgsql.NpgsqlDataSource
Postgres data source.
- schema
- String
Schema of collection tables.
- vectorSize
- Int32
Embedding vector size.