获取字段#

langchain_core.utils.pydantic.get_fields(model: type[BaseModel]) dict[str, FieldInfo][来源]#
langchain_core.utils.pydantic.get_fields(model: BaseModel) dict[str, FieldInfo]
langchain_core.utils.pydantic.get_fields(model: type[BaseModel]) dict[str, FieldInfo]
langchain_core.utils.pydantic.get_fields(model: BaseModel) dict[str, FieldInfo]

获取Pydantic模型的字段名称。