SqlServerMemoryBuilderExtensions.WithSqlServerMemoryStore Method
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.
Registers SQL Server or Azure SQL connector.
public static Microsoft.SemanticKernel.Memory.MemoryBuilder WithSqlServerMemoryStore (this Microsoft.SemanticKernel.Memory.MemoryBuilder builder, string connectionString, string schema = "dbo");
static member WithSqlServerMemoryStore : Microsoft.SemanticKernel.Memory.MemoryBuilder * string * string -> Microsoft.SemanticKernel.Memory.MemoryBuilder
<Extension()>
Public Function WithSqlServerMemoryStore (builder As MemoryBuilder, connectionString As String, Optional schema As String = "dbo") As MemoryBuilder
Parameters
- builder
- MemoryBuilder
The MemoryBuilder instance.
- connectionString
- String
Database connection string.
- schema
- String
Schema of collection tables.
Returns
Updated Memory builder including Postgres memory connector.