JidoGralkor.MemorySearchPresentation (jido_gralkor v11.0.0)

Copy Markdown View Source

Render structured fact search results as source headings and fact bullets.

The complete text fits Jido AI's 16,384-character string limit and the supplied UTF-8 byte budget for its serialized success envelope. Facts are retained or omitted whole, with an explicit omission notice. Canonical search data is unchanged.

Summary

Types

output()

@type output() :: %{result: String.t()}

Functions

for_model(results, max_bytes)

@spec for_model([Gralkor.Search.result()], pos_integer()) ::
  {:ok, output()} | {:error, term()}

validate_max_bytes!(max_bytes)

@spec validate_max_bytes!(term()) :: pos_integer()