← Về thư mục
openai4s/server/response_schema.py
- type_of · function · L38-L53 — def type_of(value: Any) -> str
- _is_data_key · function · L73-L90 — def _is_data_key(key: Any) -> bool
- infer · function · L93-L127 — def infer(value: Any, field: str | None = None) -> dict[str, Any]
- merge · function · L130-L192 — def merge(left: dict[str, Any], right: dict[str, Any]) -> dict[str, Any]
- _is_map · function · L195-L197 — def _is_map(schema: dict[str, Any]) -> bool
- _type_set · function · L200-L204 — def _type_set(schema: dict[str, Any]) -> set[str]
- validate · function · L207-L249 — def validate(value: Any, schema: dict[str, Any], path: str = "$") -> list[str]