Workflow ai elements
Generated from brezel/api@ddd04f543e0fecc433a351dcaab24d39087b24be — do not edit by hand.
ai/chatBot
Section titled “ai/chatBot”Sends a message to an AI chat model and returns the result.
Input ports: default (any; Input).
Output ports: default (any; Output), error (any; Error).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
driver | select | OpenAI-chat | not declared | Driver Values: OpenAI-chat, Mistral-chat. |
messages | repeat | null | not declared | Messages Values: {"key":"role","type":"select","label":"Role","icon":"","default":"user","showInNode":false,"help":"","hasRecipeMode":false,"resourcePort":"default","unpacksCollections":true,"autocompletesKeys":true,"autocompleteValues":[],"options":[{"value":"system","name":"system"},{"value":"user","name":"user"},{"value":"assistant","name":"assistant"}],"multiple":false}, {"key":"content","type":"text","label":"Content","icon":"","default":null,"showInNode":false,"help":"","hasRecipeMode":false,"resourcePort":"default","unpacksCollections":true,"autocompletesKeys":true,"autocompleteValues":[],"multiple":false}. |
ai/entityFromImage
Section titled “ai/entityFromImage”Creates an Entity from an input image using an AI model and a given driver.
Input ports: default (any; Input), entity (resource; Entity), images (resource; Images).
Output ports: default (any; Output).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
module | module | null | not declared | Module |
images | recipes | null | not declared | Images |
driver | select | OpenAI-chat | not declared | Driver Values: OpenAI-chat, Mistral-chat. |
instructions | text | null | not declared | Instructions |
ai/entityFromText
Section titled “ai/entityFromText”Creates an Entity from an input text using an AI model and a given driver.
Input ports: default (any; Input), entity (resource; Entity).
Output ports: default (any; Output), event (any; Event).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
text | text | null | not declared | Text |
module | module | null | not declared | Module |
driver | select | OpenAI-chat | not declared | Driver Values: OpenAI-text, OpenAI-chat, Mistral-chat. |
instructions | text | null | not declared | Additional Instructions |
ai/generateImage
Section titled “ai/generateImage”Creates an image using an AI model and a given driver.
Input ports: default (any; Input).
Output ports: default (any; Images), queued (any; Queued), error (any; Error).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
driver | select | openai | not declared | Driver Values: openai, leonardo, stability, goapi. |
prompt | text | null | not declared | Prompt |
numImages | number | 1 | not declared | Number of Images |
ai/textPrompt
Section titled “ai/textPrompt”Sends a prompt to an AI model and returns the result.
Input ports: default (any; Input).
Output ports: default (any; Output).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
driver | select | OpenAI-text | not declared | Driver Values: OpenAI-text. |
prompt | text | null | not declared | Prompt |