Mnemosyne.GraphBackends.InMemory (mnemosyne v0.1.5)

Copy Markdown View Source

In-memory graph backend wrapping Mnemosyne.Graph.

Stores all nodes in a plain Graph struct and scores candidates using cosine similarity and value functions.

Summary

Types

t()

@type t() :: %Mnemosyne.GraphBackends.InMemory{
  graph: Mnemosyne.Graph.t(),
  metadata: %{required(String.t()) => Mnemosyne.NodeMetadata.t()},
  persistence: {module(), term()} | nil
}