langchain_community.utilities.clickup.parse_dict_through_component

langchain_community.utilities.clickup.parse_dict_through_component(data: dict, component: Type[Component], fault_tolerant: bool = False) Dict[source]

通过创建一个组件来解析字典,然后将其转换回字典。

这有助于两件事情: 1. 根据模式从字典中提取和格式化数据 2. 提供一个中心化的、容错的方式来执行这些操作

Parameters
  • data (dict) –

  • component (Type[Component]) –

  • fault_tolerant (bool) –

Return type

Dict