withToolGroup

open fun withToolGroup(toolGroup: String): PromptRunner

Add a tool group to the PromptRunner

Return

PromptRunner instance with the added tool group

Parameters

toolGroup

name of the toolGroup we're requesting


abstract fun withToolGroup(toolGroup: ToolGroup): PromptRunner

Allows for dynamic tool groups to be added to the PromptRunner.