class documentation

Strict pydantic deserialization with a lenient fallback.

OpenAI's response models can drift from live API payloads (e.g. a deprecated-but-required field the API has stopped sending). The SDK tolerates this when parsing responses, but strict validate_json on the workflow side does not, so fall back to lenient construction when validation fails.

Method from_payload See base class.

Inherited from PydanticJSONPlainPayloadConverter:

Method __init__ Create a new payload converter.
Method to_payload See base class.
Property encoding See base class.
Instance Variable _schema_serializer Undocumented
Instance Variable _to_json_options Undocumented