promptRunner

open override fun promptRunner(llm: <Error class: unknown class>, toolGroups: Set<ToolGroupRequirement>, toolObjects: List<ToolObject>, promptContributors: List<<Error class: unknown class>>, contextualPromptContributors: List<ContextualPromptElement>, generateExamples: Boolean): PromptRunner

Create a prompt runner for this context. Application code should always go through this method to run LLM operations.

Parameters

llm

the LLM options to use

toolGroups

extra local tool groups to use, in addition to those declared on the action if we're in an action

promptContributors

extra prompt contributors to use, in addition to those declared on the action if we're in an action, or at agent level