get_fields#
- langchain_core.utils.pydantic.get_fields(model: Type[BaseModelV2]) Dict[str, FieldInfoV2] [source]#
- langchain_core.utils.pydantic.get_fields(model: BaseModelV2) Dict[str, FieldInfoV2]
- langchain_core.utils.pydantic.get_fields(model: Type[BaseModelV1]) Dict[str, FieldInfo]
- langchain_core.utils.pydantic.get_fields(model: BaseModelV1) Dict[str, FieldInfo]
Get the field names of a Pydantic model.