AI agent operators
It’s very easy to leverage the power of Generative AI models directly inside Workflow Studio and use them to create AI based agents that can interact with the rest of the AI Cloud platform and of course with the outside world. This page covers how to use Generative AI operators inside Workflow Studio to send prompts to a connected LLM and use them to define AI agents.
Connecting to a model
To work with a generative model, you need to provide a connection to that model. Normally, generative models are deployed by an external service provider like OpenAI or Microsoft Azure OpenAI. The connection contains the information needed to connect to the model. In most cases this is a key:value pair that contains the API key and the model URL. Those credentials are stored in a connection object and managed in the Connections section of each project.
Once the connection object is created, it can be accessed via the assets tab in Workflow Studio and added from there to the workflow. Every operator that uses a generative model has a connection input port. It is also possible to use different models for different operators in the same workflow.
Operator overview
The Generative AI and AI agent operators are bundled in the Prompt Engineering folder that can be found under extensions in the operator panel.
There are three groups of operators for different use cases.
Because all these operators are using the same interface to Large Language Models (LLM), they share a common set of parameters for fine-tuning the models. The shared parameters are explained at the end of this document in an extra section.

Text to Text
One of the most common and iconic tasks for generative models is working with text. There are three pre-configured operators that provide the needed interface to directly tackle text related requests.
Text Classification
The Text Classification operator is used for submitting the contents of the selected nominal column to an LLM for classifying it into the specified categories. It can optionally be enriched with RAG input data for grounding the model and providing additional context.
Input
- Data: This table input port expects the data which contains the column to submit to the LLM for classification.
- Prompt: A pre-configured system prompt that will be used to query the LLM, together with its config. If this optional port is connected, the respective settings of the operator will vanish and the system prompt and settings contained within will be used instead.
- RAG: These optional input ports are used to provide the LLM with reference data (the R in RAG).
Output
- Result: The data table containing the new target column with the classification result, as well as a new score column with the confidence of each classification.
Parameters
- Input Column: The column to classify.
- Categories: The categories to classify the text into.
- Target Column: The name of the new column which should contain the classification result.
AI Translate
The AI Translate operator is used for submitting the content of the selected nominal column to an LLM for translation to the specified target language. It can optionally be enriched with RAG input data for grounding the model and providing additional context.
Input
- Data: This table input port expects the data which contains the column to submit to the LLM for translation.
- Prompt: A preconfigured system prompt that will be used to query the LLM, together with its config. If this optional port is connected, the respective settings of the operator will vanish and the system prompt and settings contained within will be used instead.
- RAG: These optional input ports are used to provide the LLM with reference data (the R in RAG).
Output
- Result: The data table containing the new target column with the translation result.
Parameters
- Input Column: The column which to translate.
- Target Language: The target language to translate into.
- Target Column: The name of the new column which should contain the translation.
Summarize Text
The Summarize Text operator is used for submitting the content of the selected nominal column to an LLM to create a short summary. It can optionally be enriched with RAG input data for grounding the model and providing additional context.
Input
- Data: This table input port expects the data which contains the column to submit to the LLM for a summary.
- Prompt: A preconfigured system prompt that will be used to query the LLM, together with its config. If this optional port is connected, the respective settings of the operator will vanish and the system prompt and settings contained within will be used instead.
- RAG: These optional input ports are used to provide the LLM with reference data (the R in RAG).
Parameters
- Input Column: The column which to summarize.
- Summary Length: The number of sentences the summary should have.
- Target Column: The name of the new column which should contain the summary.
Custom Prompts
The custom prompts operators are the most generic of the LLM operators. They can be used to send arbitrary queries to the provided model and can be customized with very precisely designed prompts. The main differentiator to other available LLM interfaces is the integration with Workflow Studio, so they can be part of a regular workflow and especially can provide compatible data tables as input and output.
Prompt
The Prompt operator is used for submitting user-defined prompts to an LLM. This represents the most general way to interact with an LLM.
Input
- Prompt: A preconfigured prompt that will be used to query the LLM, together with its config. If this optional port is connected, the respective settings of the operator will vanish and the prompt and settings contained within will be used instead.
- RAG: These optional input ports are used to provide the LLM with reference data (the R in RAG). Rag references within the prompt/system prompt are referencing the rag input data at the specified port (starting at 1), and they consist of a set of 2 curly brackets around the ref name, e.g.
{{RAG 1}}. If there are rag ports connected which have no rag ref within the actual prompt, they are each appended as a simple additional message to the LLM to use the provided data as an example.
Output
- Result: The data table containing the prompt result.
- Record: A complete representation of the prompt that was used to query the LLM, including all input prompt messages, the response, as well as config and meta information.