Create examples of any data type
generate
function creates realistic examples of any type. It transforms () → T
, making it easy to produce:
generate
function is a convenient wrapper around Marvin’s task system - see Tasks for more details.
target
: The type of data to generaten
: Number of examples to generate (default: 1)instructions
: Optional guidance for generationagent
: Optional custom agent to usethread
: Optional thread for conversation contextcontext
: Optional additional context