- Add export profiles, smart context, and snapshots to README features - Document export profiles workflow and edge cases in output-targets.md - Add per-target outputPath and intelligence settings to settings.md - Add smart-context.md for context intelligence documentation - Restructure history.md to include snapshots section - Add new commands to getting-started.md - Update repo URLs to GitHub Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2.7 KiB
Output Targets
Promptfire supports multiple output targets so you can tailor context for different LLMs.
Built-in Targets
| Target | Tokens | Format | Strategy |
|---|---|---|---|
| Promptfire | 200,000 | XML | Summarize headers |
| GPT-4o | 128,000 | Markdown | Summarize headers |
| Compact | 8,000 | Plain | Drop sections |
Configuration
Each target can be configured with:
- Name - Display name (e.g., "Claude", "GPT-4")
- Max tokens - Token limit for truncation
- Format -
markdown,xml, orplain - Strategy -
summarize-headers,drop-sections,truncate - Wrapper - Prefix/suffix text around content (e.g.,
<context>...</context>) - Output path - Custom folder for this target's file output (overrides the global output folder)
Primary vs Secondary Targets
- Primary target output goes to your clipboard.
- Secondary targets are saved as files in the configured output folder (or the target's custom output path).
This lets you generate context for multiple LLMs in a single action.
Output Folder
Configure where secondary target files are saved in Settings > Promptfire > Output Targets. Individual targets can override this with their own Output path setting.
Export Profiles
Export profiles bundle targets into named groups for one-click multi-format export.
How It Works
- Create a profile in Settings > Output > Export Profiles (e.g., "Full LLM Export")
- Select which targets the profile includes (e.g., Claude XML + GPT Markdown + Gemini Compact)
- Choose which target's output goes to clipboard (primary)
- Set the profile as active in the "Active export profile" dropdown
- Run the command:
Ctrl+P > "Promptfire: Export context (multi-target)"
The context assembles normally, each target processes it with its own format and truncation, the primary target goes to clipboard, and the rest are saved as files.
Built-in Profile
| Profile | Targets | Primary |
|---|---|---|
| Full LLM Export | Promptfire (XML), GPT-4o (MD), Compact (Plain) | Promptfire |
Add it via Settings > Output > Export Profiles > "Add Built-in Profiles".
Profile Dropdown in Generator
When you have profiles configured, the generator modal shows a Profile dropdown above the target checkboxes. Selecting a profile pre-selects its targets for quick access.
Edge Cases
- If the active profile references a target that was deleted, that target is skipped with a notice
- If a profile's primary target was deleted, the first available target in the profile becomes primary
- Deleting a target automatically cleans it up from all profiles