Skip to main content

load_tools_from_module

Method
This is a method of the AgentsGenerator class in the agents_generator module.
Loads tools from a specified module path.

Signature

def load_tools_from_module(module_path: Any) -> Any

Parameters

module_path
Any
required
The path to the module containing the tools.

Returns

Returns
Any
A dictionary containing the names of the tools as keys and the corresponding functions or objects as values.

Exceptions

If the specified module path does not exist.

Source

View on GitHub

praisonai/agents_generator.py at line 232