Target Schema

View as Markdown

This page lists every field on AuditTarget. Defaults match the pydantic definition in nemo_auditor.entities; the NeMo Platform entity store validates writes against this schema.

AuditTarget

FieldTypeRequiredDescription
namestrYesUnique target name within the workspace.
workspacestrYesWorkspace the target is persisted in.
typestrYesA fully-qualified garak generator class, such as nim.NVOpenAIChat, openai.OpenAIGenerator, rest.RestGenerator, or test.Blank.
modelstrYesProvider model identifier (for example, meta/llama-3.1-8b-instruct). Some generator types (test.Blank) ignore this field but the schema still requires it.
optionsdict[str, Any]NoNested generator-specific options. The top-level key matches the generator namespace (nim, openai, rest, …). Defaults to {}.
description`str \None`No

The entity store adds the standard NemoEntity fields on retrieval: id, entity_type ("auditor_audit_target"), created_at, updated_at, and project.

About options

options is intentionally opaque to the plugin — its contents are passed through to garak as the generator’s --generator_option_file payload. Refer to garak’s generator documentation for the options each generator class accepts.

The plugin recognizes one sentinel inside options.<generator>: an nmp_uri_spec block is resolved at run time to a concrete uri value via the NeMo Platform Inference Gateway. See Inference Gateway for the resolution rules and conflict semantics.