🧪 Test Prompts & Pipelines

PromptFx is a visual workbench for LLM experimentation. Craft templates, compare models, chain calls, and automate NLP tasks — all without writing code.

The Tools Tab

The Tools tab is the core workbench for prompt engineering. It contains four main views:

Prompt Template view
PromptFx Prompt Template view showing Mustache template editing with parameter substitution

Prompt Templates with Mustache

Prompts are stored as Mustache templates, making it easy to define reusable prompts with variable placeholders:

Translate the following {{language}} text to English:
{{text}}

In the Prompt Template view, fill in the variable fields on the right panel and click Run to send the completed prompt to the selected model.

Multi-Step Pipelines

The Prompt Scripting view lets you define a sequence of prompt steps that feed outputs from one step as inputs to the next. This is useful for:

Pipelines can also be defined programmatically using the PromptKt library. The UI provides a convenient way to explore and validate pipeline logic before coding it.

API Playground

Under the API tab, PromptFx exposes raw API endpoints for:

These views are similar to the OpenAI Playground and are great for exploring model behavior and comparing responses.

NLP Task Views

The Text tab provides high-level views for common NLP tasks:

Text tab – NLP Tasks
PromptFx Text tab showing NLP task views

Configuring Models

Use the toolbar dropdowns at the top of the application to select the default completion model and embedding model. Most views respect these defaults, though each view's configuration panel (right side) also allows per-view overrides.

PromptFx supports OpenAI models (GPT-4, GPT-3.5, etc.) and Google Gemini models out of the box. To connect to a custom or locally hosted API, configure the base URL in the settings panel.

Get the App Tools Wiki ↗