Documentation
Table of Contents

Constructor SqliteSemanticMemory

Namespace
IntentSharp.Memory
Assembly
IntentSharp.dll

SqliteSemanticMemory(string, IAIProvider?, ILogger?)

Opens the database file, creating the file and its table when they are missing. Without an embedding provider, or with one that does not support embeddings, recall uses word overlap only.

public SqliteSemanticMemory(string path, IAIProvider? embeddingProvider = null, ILogger? logger = null)

Parameters

path string

Database file path. Created when missing.

embeddingProvider IAIProvider

Provider used to embed intents, so recall can match by meaning.

logger ILogger

Receives a Warning for every embedding that fails.

Exceptions

ArgumentException

path is null, empty or white space.