Skip to contents

Writes functai.json in path: the function as data, which Python (functai.load), TypeScript (load()) and read_ai() run, sending the same requests.

Usage

write_ai(fn, path)

Arguments

fn

An AI function.

path

A folder.

Value

The file written, invisibly.