# 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`, or `plain` - **Strategy** - `summarize-headers`, `drop-sections`, `truncate` - **Wrapper** - Prefix/suffix text around content (e.g., `...`) - **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 1. Create a profile in **Settings > Output > Export Profiles** (e.g., "Full LLM Export") 2. Select which targets the profile includes (e.g., Claude XML + GPT Markdown + Gemini Compact) 3. Choose which target's output goes to clipboard (primary) 4. Set the profile as **active** in the "Active export profile" dropdown 5. 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