langchain_prompty.core.param_hoisting¶
- langchain_prompty.core.param_hoisting(top: Dict[str, Any], bottom: Dict[str, Any], top_key: Optional[Any] = None) Dict[str, Any][source]¶
- 从底部到顶部合并两个字典,并提升参数。 - 参数
- top (Dict[str, Any]) – 顶部的字典。 
- bottom (Dict[str, Any]) – 底部的字典。 
- top_key (Optional[Any]) – 从底部提升到顶部的键。 
 
- 返回值
- 合并后的字典。 
- 返回类型
- Dict[str, Any]