Ingests content into the memory system with content-hash deduplication. Creates or updates MemoryDocuments within a collection.
Summary
Functions
Compute SHA-256 hash of content for deduplication.
Ingest text content as a document.
Returns {:ok, document} if created/updated, {:ok, :unchanged} if
content hash matches, or {:error, reason}.
Options
:owner_id(required) — UUID owner:scope_id— Optional workspace/collection scope UUID:collection_name— Collection name (default: "default"):source_type— "artifact", "conversation", "manual" (default: "manual"):source_id— External ID for dedup:metadata— Extra data map