Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Send a prompt to the AI - [ai.prompt.send]

One of most generic an and simplest use cases is to send a prompt (= a request) to the AI and use the response data in your pipeline. For this you can use the ai.prompt.send command. Here is an example to return some data from the AI:

...

Code Block
languagejson
{
    "person": {
        "firstName": "p_Alex",
        "lastName": "p_Johnson",
        "age": 48
    }
}

Send multiple messages

In case you need to send multiple messages, you can use the messages parameter like this:

...

This powerful feature of the AI Studio takes a non-structured text such as an email, a chat message or a PDF document for example, analyses it using AI and then automatically detects and executes the according PIPEFORCE command including its parameters which must be executed in order to take action and fulfill the user’s request.

This can be seen as an ultimative tool to bridge between humans and machines since any generated non-structured text in written and spoken form can start nearly any computer task you can imagine.

Drawio
mVer2
zoom1
simple0
inComment0
custContentId3209920520
pageId3209068546
lbox1
diagramDisplayNameUntitled Diagram-1733754941173.drawio
contentVer1
revision1
baseUrlhttps://logabit.atlassian.net/wiki
diagramNameUntitled Diagram-1733754941173.drawio
pCenter0
width1559.93
links
tbstyle
height517

...

See this example to construct a message out of advice parameters using a template:

Code Block
languageyaml
...
targetCommand: "mail.send"
...
params:
  message:
    value: "The customerId is: {{advice.params.customerId}}"
  ...

...