Create and manage AI agents with Truffle AI
deployAgent
method:
deployAgent
method accepts the following parameters:
Parameter | Required | Type | Description |
---|---|---|---|
name | Yes | string | A name for your agent |
instruction | Yes | string | Instructions that define the agent’s behavior |
model | Yes | string | The AI model to use (e.g., ‘gpt-4o-mini’) |
tool | No | string | The tool to use (e.g., ‘Google Sheets’) |
documentId | No | string | ID of an uploaded document for RAG functionality |
run
method to execute one-off tasks: