Llm Interaction
constructor(id: InteractionId, llm: <Error class: unknown class> = LlmOptions(), toolGroups: Set<ToolGroupRequirement> = emptySet(), toolCallbacks: List<<Error class: unknown class>> = emptyList(), promptContributors: List<<Error class: unknown class>> = emptyList(), contextualPromptContributors: List<ContextualPromptElement> = emptyList(), generateExamples: Boolean? = null)
Parameters
id
Unique identifier for the interaction. Note that this is NOT the id of this particular LLM call, but of the interaction in general. For example, it might be the "analyzeProject" call within the "Analyze" action. Every such call with have the same id, but many calls may be made across different AgentProcesses, or even within the same AgentProcess if the action can be rerun. This is per action, not per process.
llm
LLM options to use, specifying model and hyperparameters
tool Callbacks
Tool callbacks to use for this interaction
prompt Contributors
Prompt contributors to use for this interaction