A change, as data: each hook may change some fields (see ai_plugin());
another refuses plugin-change.
Usage
ai_change(
instruction = NULL,
sections = NULL,
lm = NULL,
settings = NULL,
tools = NULL,
keep = NULL,
without = NULL,
inputs = NULL,
block = NULL,
output = NULL
)Arguments
- instruction
The instruction itself, for this call.
- sections
Text added after the instruction, in order.
- lm
The model for this call.
- settings
lm15 settings for it (
temperature,max_tokens, ...).- tools
The names of the tools offered, from the function's own.
- keep
The ids of the earlier turns shown.
- without
Fields left out of earlier turns: names for every turn, or a named list by turn id.
- inputs
Inputs replaced, by name (a turn's, or a tool's).
- block
The tool may not run, and why.
- output
The tool's result as the model is shown it.