LlmCall

Spec for calling an LLM. Optional LlmOptions, plus tool callbacks and prompt contributors.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val generateExamples: Boolean?

Whether to generate examples for the prompt. Defaults to unknown: Set to false if generating your own examples.

Link copied to clipboard
abstract val llm: <Error class: unknown class>?
Link copied to clipboard
abstract val name: String
Link copied to clipboard

Filter that determines which properties to include when creating objects.

Link copied to clipboard

Tool groups exposed. This will include directly registered tool groups and tool groups resolved from ToolGroups.

Link copied to clipboard
open override val tools: List<Tool>

Tools to expose to LLMs.

Link copied to clipboard
abstract val validation: Boolean

Whether to validate generated objects. Defaults to true; set to false to skip validation.

Functions

Link copied to clipboard
open fun resolveTools(toolGroupResolver: ToolGroupResolver): List<Tool>

Resolve all tools from this consumer and its tool groups.