| title | Models |
|---|---|
| slug | /reference/api/python-library-reference/models |
| description | Pydantic authoring models for NVIDIA NeMo Fabric config and request inputs. |
Pydantic SDK models for NeMo Fabric configuration and requests.
The Rust core remains the source of truth for persisted schema snapshots. These models provide the Python SDK's typed authoring surface and intentionally keep extension fields so consumers can carry adapter- or application-owned data without waiting for a schema release.
Base class for SDK-facing Pydantic models.
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
Human-readable agent identity.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
name |
str |
Yes | — | MinLen(min_length=1) |
— |
description |
str | None |
No | None |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
Harness adapter selection plus adapter-owned settings.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
adapter_id |
str |
Yes | — | MinLen(min_length=1) |
— |
resolution |
Literal['preinstalled', 'image_provided', 'pip_uv', 'npm', 'source', 'service', 'native_plugin'] | None |
No | None |
— | — |
settings |
dict[str, Any] |
No | dict() |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
Runtime input/output contract.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
input_schema |
str | None |
No | None |
— | — |
output_schema |
str | None |
No | None |
— | — |
artifacts |
str | Path | None |
No | None |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
Execution environment configuration supplied by the consumer.
provider selects the environment implementation. workspace is the path visible to the harness, while artifacts is the provider-specific output location. settings configures the selected provider; connection describes how NeMo Fabric reaches an existing environment; and metadata carries consumer-owned values that NeMo Fabric does not interpret. ownership identifies who tears the environment down, and control_location identifies whether NeMo Fabric control code runs inside or outside it.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
provider |
str |
No | 'local' |
MinLen(min_length=1) |
Environment provider, such as local, docker, opensandbox, or k8s. |
workspace |
str | Path | None |
No | None |
— | Workspace path visible to the harness. |
artifacts |
str | Path | None |
No | None |
— | Environment-specific artifact path. |
settings |
dict[str, Any] |
No | dict() |
— | Provider-specific configuration interpreted by the environment provider. |
metadata |
dict[str, Any] |
No | dict() |
— | Consumer-owned environment metadata passed through without NeMo Fabric semantics. |
connection |
dict[str, Any] |
No | dict() |
— | Connection data for an existing environment, such as URL, namespace, or credential reference. |
ownership |
Literal['caller_owned', 'fabric_owned'] |
No | 'caller_owned' |
— | Whether the caller or NeMo Fabric owns environment teardown. |
control_location |
Literal['external_control', 'in_env_control'] |
No | 'in_env_control' |
— | Whether NeMo Fabric control code runs outside or inside the environment. |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
Model alias configuration.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
provider |
str |
Yes | — | MinLen(min_length=1) |
— |
model |
str |
Yes | — | MinLen(min_length=1) |
— |
api_key_env |
str | None |
No | None |
— | — |
temperature |
float | None |
No | None |
— | — |
settings |
dict[str, Any] |
No | dict() |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
Skill capability configuration.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
paths |
list[str | Path] |
No | list() |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def add_path(path: str | Path) -> SelfAdd a skill path if absent.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def remove_path(path: str | Path) -> SelfRemove a skill path if present.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
MCP server configuration.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
transport |
str |
Yes | — | MinLen(min_length=1) |
— |
url |
str |
Yes | — | MinLen(min_length=1) |
— |
exposure |
Literal['harness_native', 'fabric_managed'] |
No | 'harness_native' |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
MCP capability configuration.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
servers |
dict[str, McpServerConfig] |
No | dict() |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def add_server(
name: str,
*,
transport: str,
url: str,
exposure: Literal['harness_native', 'fabric_managed'] = 'harness_native',
extra_fields: Mapping[str, Any] | None = None,
) -> SelfAdd or replace a named MCP server.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def remove_server(name: str) -> SelfRemove a named MCP server if present.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
NVIDIA NeMo Relay config validation policy.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
unknown_component |
Literal['ignore', 'warn', 'error'] |
No | 'warn' |
— | — |
unknown_field |
Literal['ignore', 'warn', 'error'] |
No | 'warn' |
— | — |
unsupported_value |
Literal['ignore', 'warn', 'error'] |
No | 'error' |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
NeMo Relay ATOF file sink configuration.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
type |
Literal['file'] |
No | 'file' |
— | — |
output_directory |
str | Path | None |
No | None |
— | — |
filename |
str | None |
No | None |
— | — |
mode |
Literal['append', 'overwrite'] |
No | 'append' |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
NeMo Relay ATOF stream sink configuration.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
type |
Literal['stream'] |
No | 'stream' |
— | — |
url |
str |
Yes | — | — | — |
transport |
Literal['http_post', 'websocket', 'ndjson'] |
No | 'http_post' |
— | — |
headers |
dict[str, str] |
No | dict() |
— | — |
header_env |
dict[str, str] |
No | dict() |
— | — |
timeout_millis |
int |
No | 3000 |
— | — |
field_name_policy |
Literal['preserve', 'replace_dots'] |
No | 'preserve' |
— | — |
name |
str | None |
No | None |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
NeMo Relay ATOF export configuration.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
enabled |
bool |
No | False |
— | — |
sinks |
list[Annotated[RelayAtofFileSinkConfig | RelayAtofStreamSinkConfig, Field(discriminator='type')] | dict[str, Any]] | None |
No | None |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
NeMo Relay ATIF S3 storage configuration.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
type |
Literal['s3'] |
No | 's3' |
— | — |
bucket |
str |
No | '' |
— | — |
key_prefix |
str | None |
No | None |
— | — |
access_key_id |
str | None |
No | None |
— | — |
secret_access_key_var |
str | None |
No | None |
— | — |
session_token_var |
str | None |
No | None |
— | — |
region |
str | None |
No | None |
— | — |
endpoint_url |
str | None |
No | None |
— | — |
allow_http |
bool | None |
No | None |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
NeMo Relay ATIF HTTP storage configuration.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
type |
Literal['http'] |
No | 'http' |
— | — |
endpoint |
str |
No | '' |
— | — |
headers |
dict[str, str] |
No | dict() |
— | — |
header_env |
dict[str, str] |
No | dict() |
— | — |
timeout_millis |
int |
No | 3000 |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
NeMo Relay ATIF export configuration.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
enabled |
bool |
No | False |
— | — |
agent_name |
str |
No | 'NeMo Relay' |
— | — |
agent_version |
str | None |
No | None |
— | — |
model_name |
str |
No | 'unknown' |
— | — |
tool_definitions |
list[dict[str, Any]] | None |
No | None |
— | — |
extra |
dict[str, Any] | None |
No | None |
— | — |
output_directory |
str | Path | None |
No | None |
— | — |
filename_template |
str |
No | 'nemo-relay-atif-{session_id}.json' |
— | — |
storage |
list[Annotated[RelayS3StorageConfig | RelayHttpStorageConfig, Field(discriminator='type')] | dict[str, Any]] | None |
No | None |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
NeMo Relay OTLP export configuration for OpenTelemetry/OpenInference.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
enabled |
bool |
No | False |
— | — |
transport |
Literal['http_binary', 'grpc'] |
No | 'http_binary' |
— | — |
endpoint |
str | None |
No | None |
— | — |
headers |
dict[str, str] |
No | dict() |
— | — |
resource_attributes |
dict[str, str] |
No | dict() |
— | — |
service_name |
str |
No | 'nemo-relay' |
— | — |
service_namespace |
str | None |
No | None |
— | — |
service_version |
str | None |
No | None |
— | — |
instrumentation_scope |
str | None |
No | None |
— | — |
timeout_millis |
int |
No | 3000 |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
NeMo Relay observability component configuration.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
version |
int |
No | 2 |
— | — |
atof |
RelayAtofConfig | dict[str, Any] | None |
No | None |
— | — |
atif |
RelayAtifConfig | dict[str, Any] | None |
No | None |
— | — |
opentelemetry |
RelayOtlpConfig | dict[str, Any] | None |
No | None |
— | — |
openinference |
RelayOtlpConfig | dict[str, Any] | None |
No | None |
— | — |
policy |
RelayConfigPolicy | dict[str, Any] | None |
No | None |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
Generic NeMo Relay plugin component configuration.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
kind |
str |
Yes | — | MinLen(min_length=1) |
— |
enabled |
bool |
No | True |
— | — |
config |
dict[str, Any] |
No | dict() |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
First-class NeMo Relay integration configuration.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
project |
str | None |
No | None |
— | — |
output_dir |
str | Path | None |
No | None |
— | — |
observability |
RelayObservabilityConfig | dict[str, Any] | None |
No | None |
— | — |
components |
list[RelayComponentConfig | dict[str, Any]] |
No | list() |
— | — |
policy |
RelayConfigPolicy | dict[str, Any] | None |
No | None |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
Provider-specific telemetry configuration.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
config |
dict[str, Any] | None |
No | None |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
Telemetry configuration.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
providers |
dict[Literal['relay', 'native'], TelemetryProviderConfig | dict[str, Any]] |
No | dict() |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def enable_native(*, config: Mapping[str, Any] | None = None) -> SelfLet the selected adapter handle telemetry natively.
def enable_relay() -> SelfEnable NeMo Relay telemetry for subsequently started runtimes.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def remove_provider(provider: Literal['relay', 'native']) -> SelfRemove a configured telemetry provider.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
Harness-neutral tool capability configuration.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
blocked |
list[str] |
No | list() |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def to_mapping() -> dict[str, Any]Return a detached JSON-compatible mapping for Rust/core calls.
SDK-facing typed NeMo Fabric agent configuration.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
schema_version |
str |
No | 'fabric.agent/v1alpha1' |
— | — |
metadata |
MetadataConfig |
Yes | — | — | — |
harness |
HarnessConfig |
Yes | — | — | — |
runtime |
RuntimeConfig |
No | RuntimeConfig() |
— | — |
environment |
EnvironmentConfig | None |
No | None |
— | — |
models |
dict[str, ModelConfig | dict[str, Any]] |
No | dict() |
— | — |
mcp |
McpConfig | None |
No | None |
— | — |
skills |
SkillConfig | None |
No | None |
— | — |
telemetry |
TelemetryConfig | None |
No | None |
— | — |
relay |
RelayConfig | dict[str, Any] | None |
No | None |
— | — |
tools |
ToolsConfig | dict[str, Any] | None |
No | None |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def add_mcp_server(
name: str,
*,
transport: str,
url: str,
exposure: Literal['harness_native', 'fabric_managed'] = 'harness_native',
extra_fields: Mapping[str, Any] | None = None,
) -> SelfAdd or replace a named MCP server and return this config.
def add_skill_path(path: str | Path) -> SelfAdd a skill path and return this config.
def block_tools(*tools: str) -> SelfBlock adapter-native tool names or toolsets and return this config.
def enable_relay(
*,
project: str | None = None,
output_dir: str | Path | None = None,
observability: RelayObservabilityConfig | Mapping[str, Any] | None = None,
components: Sequence[RelayComponentConfig | Mapping[str, Any]] | None = None,
policy: RelayConfigPolicy | Mapping[str, Any] | None = None,
) -> SelfEnable NeMo Relay telemetry and return this config.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate the public agent config mapping shape.
def remove_mcp_server(name: str) -> SelfRemove a named MCP server and return this config.
def remove_skill_path(path: str | Path) -> SelfRemove a skill path and return this config.
def to_mapping() -> dict[str, Any]Return a detached mapping matching the Rust FabricConfig schema.
One validated NeMo Fabric invocation request.
The model defines the following fields:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
input |
Any |
No | '' |
— | — |
request_id |
str |
No | <generated> |
MinLen(min_length=1) |
— |
context |
dict[str, Any] |
No | dict() |
— | — |
overrides |
dict[str, Any] | None |
No | None |
— | — |
Return fields preserved by the extension point for this model.
Get extra fields set during validation.
Returns:
A dictionary of extra fields, or None if config.extra is not set to "allow".
Returns the set of fields that have been explicitly set on this model instance.
Returns: A set of strings representing the fields that have been set, i.e. that were not filled from defaults.
def from_mapping(value: Mapping[str, Any]) -> SelfValidate a mapping using this Pydantic model.
def to_mapping() -> dict[str, Any]Return a detached request mapping for the Rust runtime.
This file was automatically generated via lazydocs.