karta_benchmarks.evaluation_datasets.ecommerce.function_factory package

Submodules

karta_benchmarks.evaluation_datasets.ecommerce.function_factory.factory module

karta_benchmarks.evaluation_datasets.ecommerce.function_factory.factory.factory() Dict[str, Any]

This is the tool factory that generates a set of tools (callables) that will operate on a fresh instance of the data. Each tool comes with a docstring which can be used when binding to the agent.

Returns:

A dictionary that contains:
  • tool_mapping: A mapping between the tool name and the tool callable

  • read_tools: All the read tools

  • update_tools: All the update tools

Return type:

Dict[str, Any]

Module contents