of

fun of(name: String, description: String, tools: List<Tool>, notes: String = ""): LlmReference

Create an LlmReference with tools.

Return

An LlmReference with the given content and tools

Parameters

name

The reference name (used as tool prefix)

description

A description of what this reference provides

notes

The text content to include in the prompt

tools

The tools provided by this reference


fun of(name: String, description: String, tool: Any, notes: String = ""): LlmReference

Create an LlmReference with a single tool object.

Return

An LlmReference with the given content and tools

Parameters

name

The reference name (used as tool prefix)

description

A description of what this reference provides

notes

The text content to include in the prompt

tool

The single tool provided by this reference. May be a Tool object or an object with @LlmTool annotated methods.