langchain_community.tools.plugin
.marshal_spec¶
- langchain_community.tools.plugin.marshal_spec(txt: str) dict [source]¶
将yaml或json序列化的规范转换为字典。
- 参数:
txt:yaml或json序列化的规范。
- 返回:
dict:规范的字典形式。
- Parameters
txt (str) –
- Return type
dict