langchain_community.agent_toolkits.ainetwork.toolkit
.AINetworkToolkit¶
- class langchain_community.agent_toolkits.ainetwork.toolkit.AINetworkToolkit[source]¶
Bases:
BaseToolkit
Toolkit for interacting with AINetwork Blockchain.
- Security Note: This toolkit contains tools that can read and modify
the state of a service; e.g., by reading, creating, updating, deleting data associated with this service.
See https://python.langchain.com/docs/security for more information.
- Parameters
network – Optional. The network to connect to. Default is “testnet”. Options are “mainnet” or “testnet”.
interface – Optional. The interface to use. If not provided, will attempt to authenticate with the network. Default is None.
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
- param interface: Optional[Ain] = None¶
- param network: Optional[Literal['mainnet', 'testnet']] = 'testnet'¶