Skip to contents

ai_version() names everything the function sends besides its inputs (its instruction, layout, worked examples, tools): the same function has the same version in Python, TypeScript and R, and choosing another model does not change it. ai_render() is the exact request a call would send. ai_instructions() the instruction the model gets; ai_signature() its fields as data.

Usage

ai_version(fn)

ai_instructions(fn)

ai_signature(fn)

ai_signature_id(fn)

ai_render(fn, ...)

Arguments

fn

An AI function.

...

Inputs, as for calling it (one row).

Value

A string (ai_version(), ai_instructions()) or a list.