loadByDescription

abstract suspend fun loadByDescription(description: String, subject: MemorySubject, scope: MemoryScope): List<Fact>(source)

Performs semantic search across stored facts. This operation enables:

  • Natural language queries

  • Fuzzy concept matching

  • Context-aware search results

Implementation considerations:

  • May use different matching algorithms

  • Could integrate with LLM for better understanding

  • Should handle synonyms and related terms

Return

Facts matching the semantic query

Parameters

description

Natural language query or description

subject

Context to search within

scope

Visibility boundary to consider