Expand description
PurviewSettings and the location-scoping types it carries. Mirrors
Python’s agent_framework_purview._settings.
Structs§
- Purview
AppLocation - Identifies the calling application’s location for Purview policy
evaluation (an application id, a URL, or a domain). Mirrors Python’s
PurviewAppLocation. - Purview
Settings - Settings for Purview integration. Mirrors Python’s
PurviewSettings(anAFBaseSettings/pydantic model there; a plain builder-style struct here — this port has no environment-variable-driven construction for it, since Python’sPurviewSettingsisn’t env-prefixed either, unlikeagent-framework-copilotstudio’sCopilotStudioSettings).
Enums§
- Purview
Location Type - The kind of location a
PurviewAppLocationidentifies. Mirrors Python’sPurviewLocationType.
Constants§
- DEFAULT_
BLOCKED_ PROMPT_ MESSAGE - Default message returned when a prompt is blocked by policy.
- DEFAULT_
BLOCKED_ RESPONSE_ MESSAGE - Default message returned when a response is blocked by policy.
- DEFAULT_
CACHE_ TTL_ SECONDS - Default protection-scopes cache TTL Python declares (14400s = 4 hours). Carried here for settings parity even though this port does not cache — see the crate docs’ “Scope” section.
- DEFAULT_
GRAPH_ BASE_ URI - Default Microsoft Graph base URI, matching
PurviewSettings.graph_base_uri’s Python default. - DEFAULT_
MAX_ CACHE_ SIZE_ BYTES - Default max cache size Python declares (200 MiB). See
DEFAULT_CACHE_TTL_SECONDS.