Skip to main content

AI Write Data

Controlled node

Overview

A node for generating structured data using a large language model, given a prompt and a schema for the result. By default the output of the generation is locked to a seed (1) meaning it should generate the same output everytime, although occasionally this system fails. If you want a different output everytime then you can select randomize output. If none of the node inputs change, and randomize is unchecked, then the generation output is cached to allow for faster development.

Inputs

InputTypeDescriptionDefault
PromptTextProvides the context or topic for the AI to write about.-
SchemaDictionarySpecifies the structure of the generated data.-
Max TokensNumberSpecifies the maximum number of tokens (words or characters) to be generated.2000
TemperatureNumberControls the level of randomness or creativity in the generated text.0.7
SeedNumberSets the random seed for the AI model, allowing for reproducibility of results.1
Randomize OutputBooleanDetermines whether the output should be randomized or not. If randomized the seed is ignored.-
RunEventFires when the node starts running-

Outputs

OutputTypeDescription
OutputDictionaryContains the generated dictionary.
DoneEventFires when the node has finished