ReadonlyanswerThe answer's output name (the last output).
ReadonlydefinitionThe instruction the model gets; set it to replace the written one (null: the written one).
ReadonlyinterfaceWhat it takes and gives, as data (contract/programs.md): its inputs (optional ones with their default) and outputs.
ReadonlyinterfaceThe interface's signature: the call log's program.interface. Calls with the same one record the same data.
ReadonlymoduleReadonlynameOptional ReadonlysavedSet when the function was loaded from a saved folder: sha256: of its functai.json.
ReadonlysettingsReadonlysignatureThe lmcc signature the model gets: fields and instructions.
ReadonlysignatureThe call log's program.signature: the fields' names and shapes.
ReadonlytoolsReadonlyversionA fingerprint of what the function sends besides its inputs (contract/calls.md, "Versions").
A conversation with this function: its calls remember each other, kept
in a store (null: this process's memory; a folder; your own). The same
id in the same store opens the same conversation. Called like the
function: await chat(input) is one turn.
Optionalid: string | nullOptionaloptions: ConversationOptionsEach item's answer, in order, concurrency calls at once. Rejects with the first failure, and stops starting new calls.
Optionaloptions: MapOptionsEach item's outcome, in order, concurrency calls at once, failures
included (as Promise.allSettled gives them): a long run goes on past a
row that fails. With a reply cache on disk (cacheReplies: "disk"),
running it again sends only what has no kept reply.
Optionaloptions: MapOptionsThe call, with every output, the turn and the replies.
The request this function sends for its sample input (its version's R).
Optionalinputs: RecCall it and watch it being made: its answer's text as it is written, and every event of its log.
A copy with other settings (the model, the temperature, …).
An AI function: call it with its inputs, get the answer.