Syntax
Agent(mode, text, [data])
Parameters
| Parameter | Type | Details |
|---|---|---|
mode | text | required |
text | any value | required |
data | any value | optional |
Returns
any value
Example
Set("synthese", Agent("generation", "Résume ce message en 5 lignes", event.texte))AgentThe agent (AI) step, handled by the AI server linked to ODESA. Agent("reflexion", prompt); Agent("comprehension", content, question); Agent("generation", instruction, data). Returns the produced text, or a record if it is JSON. Content goes as data, but the result is untrusted: a received mail may try to steer the AI; have it approved before sending (form tab). Online; 10 calls per run; 100,000 characters.