Partager via


PostgresDbClient(NpgsqlDataSource, String, Int32) Constructor

Definition

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.

Applies to