Expand description
Prompt-to-ontology routing for contextual inference.
This module chooses which installed ontologies are most relevant for a turn, derives stable namespace hashes for the LLM intent frame, and produces a short routing briefing that can be injected into the augmented prompt.
Structs§
Functions§
- route_
prompt_ to_ ontologies - route_
prompt_ with_ focus - Route a prompt with bounded, agent-declared semantic focus terms. These terms are only relevance hints: dataset access, tool permission, and remote disclosure remain governed elsewhere.
- route_
prompt_ with_ focus_ and_ allowlist - Route within the intersection of the session environment and a named agent’s explicit data-source allowlist. The allowlist can only narrow a session; an empty list preserves the session’s existing boundary.