Skip to main content

SoftField

Python API reference for the function python.src.softschema.soft_field.SoftField.

Public API

Function: SoftField

Canonical path: python.src.softschema.soft_field.SoftField

Declared in: packages/python/src/softschema/soft_field.py

Signature

def SoftField(
*,
description: str,
group: str,
owner: SoftOwner = "agent",
tier: SoftTier | None = None,
order: int | None = None,
instruction: str | None = None,
examples: list[Any] | None = None,
aliases: dict[str, list[str]] | None = None,
repair: RepairKind = "none",
**field_kwargs: Any,
) -> Any: ...