compass.common.base.run_async_tree_with_bm#
- async run_async_tree_with_bm(tree, base_messages)[source]#
Run an async decision tree using seed “base” messages
- Parameters:
tree (
AsyncDecisionTree) – Decision tree to execute.base_messages (
listofdict) – Messages to preload into the tree’s chat caller before running.
- Returns:
dictorstrorNone– Output fromrun_async_tree(), filtered by theresponse_as_jsondefault.