Classes

LLMCallBuilder

Class: LLMCallBuilder

Defined in: src/core/LLMCall.ts:625

Tiny fluent builder. Validates required fields at build() time.

Constructors

Constructor

new LLMCallBuilder(opts): LLMCallBuilder

Defined in: src/core/LLMCall.ts:632

Parameters

opts

LLMCallOptions

Returns

LLMCallBuilder

Methods

build()

build(): LLMCall

Defined in: src/core/LLMCall.ts:657

Returns

LLMCall


system()

system(prompt): this

Defined in: src/core/LLMCall.ts:642

Set the system prompt. Once per call — a second .system() used to REPLACE the first in silence, so the instructions written first were never sent and nothing said so. Join the parts yourself and pass one string.

Parameters

prompt

string

Returns

this

On this page