Mnemosyne.Pipeline.Prompts.GetSemantic (mnemosyne v0.2.0)

Copy Markdown View Source

Prompt for extracting propositional knowledge (facts learned) from a trajectory segment, along with associated concept terms that serve as semantic routing indices.

Each fact carries the step numbers it derives from so that provenance and sibling links can be created at the episodic-unit level rather than the whole trajectory.

Returns structured output via chat_structured/3 using a Zoi schema.

Summary

Functions

Returns the Zoi schema for structured LLM output validation.

Functions

schema()

@spec schema() :: Zoi.Type.t()

Returns the Zoi schema for structured LLM output validation.