Documentation
Table of Contents

Method WithMemory

Namespace
IntentSharp
Assembly
IntentSharp.dll

WithMemory(ISemanticMemory?)

Sets the memory. Pass null to disable recording. Without this call the client uses an InMemorySemanticMemory with word-overlap recall only; pass one constructed with an embedding provider to opt in to recall by meaning (one embeddings call per recorded request).

public IntentClientBuilder WithMemory(ISemanticMemory? memory)

Parameters

memory ISemanticMemory

Returns

IntentClientBuilder