Skip to content

API Reference parrot.security.groundedness.models

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.security.groundedness.models

View source

Data models for the deterministic groundedness scoring pipeline.

Defines the atom vocabulary extracted from agent answers and tool-output evidence (FEAT-398, spec §2 Data Models). Stdlib + Pydantic only.

Class Atom

A single verifiable hard-data atom extracted from text.

Fields:

Field Type Default Description
kind AtomKind The atom kind (money, percent, number, date, identifier).
raw str The atom exactly as it appeared in the (NFKC-normalized) source text.
normalized str | float The comparison key — a float for numeric-ish kinds (money/percent/number), an ISO-8601 date string for dates, or a case-folded string for identifiers.
start int Start character offset of raw in the source text.
end int End character offset (exclusive) of raw in the source text.

Class AtomKind

The five verifiable hard-data atom kinds this feature extracts.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally