marivo.semantic.AiContextValue#

class marivo.semantic.AiContextValue(business_definition=None, guardrails=(), synonyms=(), examples=(), instructions=None, owner_notes=None)[source]#

Bases: object

Validated AI-facing context for semantic and datasource objects.

Construct via ms.ai_context(...) only — not from raw dicts. All list-type fields are stored as immutable tuples.

Parameters:
  • business_definition (str | None)

  • guardrails (tuple[str, ...])

  • synonyms (tuple[str, ...])

  • examples (tuple[str, ...])

  • instructions (str | None)

  • owner_notes (str | None)