Classes

LLMCallBuilder

Class: LLMCallBuilder

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

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

Constructors

Constructor

new LLMCallBuilder(opts): LLMCallBuilder

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

Parameters

opts

LLMCallOptions

Returns

LLMCallBuilder

Methods

build()

build(): LLMCall

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

Returns

LLMCall


system()

system(prompt): this

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

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