Const
Alpha
Transforms an existing document or selected fields using Sanity Agent Actions.
instruction
instructionParams
targetDocument
temperature
async
noWrite
conditionalPaths
Returns a stable callback that triggers the action and yields a Subscribable stream.
Transforms an existing document or selected fields using Sanity Agent Actions.
instructionandinstructionParams(constants, fields, documents, GROQ queries).targetDocument(create/edit), and target specific paths.temperature,async,noWrite,conditionalPaths.Returns a stable callback that triggers the action and yields a Subscribable stream.