mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
c59a5bae48
The intermediate steps example in docs has an example on how to retrieve and display the intermediate steps. But the intermediate steps object is of type AgentAction which cannot be passed to json.dumps (it raises an error). I replaced it with Langchain's dumps function (from langchain.load.dump import dumps) which is the preferred way to do so. |
||
---|---|---|
.. | ||
_templates | ||
additional_resources | ||
expression_language | ||
guides | ||
integrations | ||
modules | ||
use_cases |