Skip to content

Quick Start

Cristiano Carvalho edited this page Apr 2, 2026 · 11 revisions

This is the fastest path from a fresh installation to a repeatable evaluation loop, where a rough prompt is tested, tempered, and measured until it holds its shape.

image
flowchart LR
    A[Configure Providers] --> B[Create Prompt]
    B --> C[Run Across Models]
    C --> D[Create Test Suite]
    D --> E[Track Evolution]
Loading

1. Configure Providers

Start with one local model and one hosted model if you want a quick read on the balance between quality, cost, and speed.

Provider Suggested starter model Requirement
Ollama llama3 http://localhost:11434/api/chat available
OpenAI gpt-4o OPENAI_API_KEY
Anthropic claude-3-5-sonnet-20241022 ANTHROPIC_API_KEY

See Providers for complete configuration details.

2. Create a Prompt

Templates use {{variable}} placeholders so a single prompt can be reused across many inputs without losing its form:

Summarize the following article in 3-5 bullet points:

{{article}}

3. Run the Prompt

  1. Select one or more providers.
  2. Supply variable values for the template.
  3. Execute the run and compare outputs side by side.

Each result captures the marks left by the run:

  • Response text
  • Latency in milliseconds
  • Input and output token counts
  • Estimated cost in USD

4. Create a Test Suite

Turn an ad hoc prompt into something you can assay repeatedly:

{
  "name": "Phoenix LiveView Summary",
  "variable_values": {
    "article": "Phoenix LiveView is a library..."
  },
  "assertions": [
    {"type": "contains", "value": "real-time"},
    {"type": "regex", "value": "^- .*\\n- .*\\n- .*"}
  ]
}

Supported assertion types:

  • contains for substring checks
  • regex for pattern validation
  • exact_match for exact output comparisons
  • json_field for structured response validation

5. Track Evolution

Every prompt update creates a new version, which makes it possible to compare:

  • Success rate across versions
  • Latency trends over time
  • Cost changes by provider and prompt version

Use the Evolution view to see whether each change refined the prompt or introduced fresh impurities.

Next Steps

Clone this wiki locally