langchain_community.tools.plugin
.marshal_spec¶
- langchain_community.tools.plugin.marshal_spec(txt: str) dict [source]¶
Convert the yaml or json serialized spec to a dict.
- Parameters
txt (str) – The yaml or json serialized spec.
- Returns
The spec as a dict.
- Return type
dict