1.4 KiB
The JsonAgent is an agent designed to interact with large JSON/dict objects.
To understand more, check out the LangChain JsonAgent{.internal-link target=_blank} documentation.
⛓️LangFlow example
Download Flow{: .md-button download="Json_agent"}
JsonSpec will define the Max value length of the input and output of the agent. You can get the Path file here{.internal-link target=_blank}.
Max value length:
400
For the example, we used OpenAI as the LLM, but you can use any LLM that has an API. Make sure to get the API key from the LLM provider. For example, OpenAI{.internal-link target=_blank} requires you to create an account to get your API key.
Check out the OpenAI{.internal-link target=_blank} documentation to learn more about the API and the options that contain in the node.
JsonToolkit for interacting with the JSON spec.



