Flowz: The Path to Adaptive LLM Output

Workflow Automation for LLMs (Generated with DALL·E 3)
Workflow Automation (Generated with DALL·E 3)

Unlock the full potential of workflow automation with our latest feature designed to elevate your experience beyond conventional task management. Building on the success of our Prompt feature for prompt engineering, Flowz gives you the ability to link LLM powered applications on the Pulze platform and therefore provides a seamless communication and collaboration between your apps.

0:00
/1:16

Tutorial on Flowz feature

Flowz streamlines data flow between apps, leveraging routing based on content, along with a myriad of other powerful features.

Creating a Flowz with our interactive diagram

Whether you're an AI expert or a beginner, managing LLM workflows is a breeze with our user-friendly interface. The interactive diagram empowers you to craft your workflow effortlessly, connecting the apps that matter most to you. Flowz is meticulously designed to cater to your specific needs, ensuring desired results with minimal hassle.

Dive into the Flowz experience within an app's settings, where a dedicated tab is now available to explore this groundbreaking feature. A brief introduction is displayed for understanding the basics of this feature. Below that you will find the configuration process as well as the actions.
Before jumping into it, take a moment to understand the use cases and potential that this feature provides by having a look at our example.

Prompts

At the core of the feature lies its synergy with Prompts. As elucidated in our earlier post, "Introducing customizable Prompts" in the realm of Language Models (LLMs), Generative Pre-trained Transformers (GPTs), and AI, a Prompt becomes a text-based set of instructions. These instructions, akin to predefined directives tailored for specific app use, enhance the functionality and efficiency of both Prompts and Flowz.

Embark on a journey of unparalleled automation, where Flowz seamlessly orchestrates your digital landscape, unlocking a world of possibilities in data connectivity and app collaboration. Elevate your workflow with Flowz, where responses are tailored to your desires – your way.

Let's create our first Flowz

Flowz works with new and existing apps; you can use any existing app you already have or create a new one to try it out first.
App selection within Flowz

The first time you access the feature tab you will be greeted by an empty Flowz. Note that you can always go back to this state by clicking the "Delete" or "Clear" buttons.

  1. Navigate to Flowz:
    • Access the settings of the app where you want to define your Flowz.
    • Click on the Flowz tab.
  2. Add the apps:
    • By clicking the 'Add app' button an empty node will be added to the diagram.
    • Select the desired app from the dropdown menu.
  3. Connect the nodes:
    • By dragging from the connection points in any node, connect them to each other in the desired order
    • Keep in mind that 'Incoming request' node must always be the first and 'Output' must be the last in order to have a valid flow.
  4. Analyzing Flowz:
    • Click 'Analyze' to get an overview of how your Flowz will behave and the apps it will use.
    • Verify wether it is valid or not. (More about Flowz Validation below).
  5. Save:
    • Finally, save the changes.
🪆
Note on recursion: Every app runs individually; if an App inside a Flowz contains a Flowz itself, it will be executed too.

What can it do?

In combination with Prompts, Weights, Policies and Model selection, Flowz can help the user connect and filter data through different apps, each app having different prompts, selected models that are better for certain tasks, different Weights, and other functionalities we add in the future.
On top of all of this, apps within a Flowz can have their own workflow configured unleashing an infinite number of possibilities and configurations. Imagination is the limit.

Recursion & Validation

What is Recursion?
Recursion is a programming concept where a function or process calls itself, either directly or indirectly, to solve a problem. It's a potent technique for tackling complex problems by breaking them down into smaller, more manageable tasks.

How does it affect the flow of data?
In Flowz, processes can execute a sequence of steps, and each step may involve the execution of another flow, triggering the same set of steps but for a different app.

Validation
While recursion is a powerful tool, it's important to watch out for infinite recursion, which can result in undesirable consequences and system errors. We prevent and address infinite recursion, ensuring that you cannot save an invalid recursive configuration; by this we mean, we detect cases where an execution won't stop (A > B > C > B > C > B > C...) and inform you about it.


Examples

We will create a task categorizer using three Apps together with custom Prompts. We want it to first translate our input into english, then summarize the answer into bullet points and finally assign it to different categories of tasks, so to speak.

ℹ️
Remember: When an App contains a Flowz, it runs the entire Flowz in order and ultimately runs itself.

Task Categorizer

Task Categorizer Flowz
  1. Translate to English: The first app inside the process will translate the request into English. We achieve this using a prompt that translates to english.
  2. Summarize: With the second app we summarize the response from the Translate to English response into bullet points.
  3. Task Categorizer: This is the main app, which contains the Flowz, and which called the other two apps. Remember it will be called last.
    We have added a prompt that will take any list of tasks and split them into categories or topics.

Here's what the Flowz above will do:

Task Categorizer Flowz execution:

Input: Quiero ir a la playa, y después comprar arroz y patatas.

  1. Translate to English:
    I want to go to the beach, and afterwards buy rice and potatoes
  2. Summarize:
    - Go to the beach
    - Buy rice
    - Buy potatoes
  3. Categorize:
    Leisure:
    - Go to the beach
    Shopping:
    - Buy rice
    - Buy potatoes

And that's the answer you will receive.

Other examples

Sentiment analyzer:

Designed to analyze the sentiment of text messages.

  1. Translate to English: This is the first app in the Flowz. It takes the input message and translates it into English.
  2. Analyze Sentiment: The second app performs sentiment analysis on the translated text, determining whether the sentiment is positive, negative, or neutral.
  3. Categorize Sentiment: The main app categorizes the sentiment result into one of three categories: positive, negative, or neutral.

Use Cases:

  • Customer Feedback Analysis: This Flowz can be applied to analyze customer feedback, helping businesses understand customer sentiment about their products or services.
  • Social Media Monitoring: It can also be used for monitoring social media posts and comments to gauge public sentiment on various topics or brands.

Keyword Extractor

designed to extract key keywords from a given text or content.

  1. Translate Content: This is the first app in the workflow. It takes the input content and translates it into a chosen language, if necessary.
  2. Extract Keywords: The second app performs keyword extraction on the translated text, identifying and extracting key terms or phrases.
  3. Organize Keywords: The main app takes the extracted keywords and organizes them into a structured list, making it easier to manage and analyze.

Use Cases:

  • SEO Optimization: This Flowz can be used to extract keywords from web content to optimize search engine visibility.
  • Content Tagging: It can help automatically tag content with relevant keywords for better organization and retrieval.
💡
Remember: Besides Prompts, specific models, weights and all the default configurations can also be set as desired.

Learn More and Dive Deeper

Explore the full capabilities of Pulze.ai workflows by visiting our comprehensive Flowz documentation. Inside, you'll discover step-by-step guides, best practices, and valuable tips to enhance your AI interactions.

One step ahead

At Pulze.ai, we've harnessed the power of dynamic routing, and meticulously detailed App configuration and Prompts to craft an extraordinary feature. Flowz synergizes the best of these elements into a seamlessly unique experience that not only saves you time but also enhances responses while preventing potential issues and giving you more control over results.

Fabian Baier

Fabian Baier

Founder of Pulze.ai
San Francisco