withMinConfidence

fun withMinConfidence(minConfidence: Double): Memory

Set the minimum confidence threshold for returned memories. Memories with effective confidence below this are filtered out.

Return

New Memory with updated confidence

Parameters

minConfidence

Minimum confidence (0.0 to 1.0, default 0.5)