Skip to content
1 min read · 134 words

Interface: UntrustedContentAttrs

Defined in: batteries/llm/chat_common/types.ts:97

Attribute bag rendered onto the trust envelope that wraps untrusted (third-party) content.

Properties

PropertyTypeDescriptionDefined in
kindstringContent classifier rendered on the envelope.batteries/llm/chat_common/types.ts:101
modality?"inert" | "extractable" | "opaque"When wrapping a @nhtio/adk!Media-derived text marker, the modality hazard axis derived from media.modalityHazard: 'inert', 'extractable' (from 'extractable-instructions'), or 'opaque' (from 'opaque-perceptual'). Omitted for non-media envelopes.batteries/llm/chat_common/types.ts:109
noncestringPer-render nonce binding the envelope's open and close markers together.batteries/llm/chat_common/types.ts:99
tool?stringName of the tool that produced the content, when applicable.batteries/llm/chat_common/types.ts:103