Context-aware prompt sets generate dynamic adversarial attacks tailored specifically to your LLM application. Unlike static, predefined test suites, context-aware prompt sets evaluate how your application behaves against custom attack surfaces, business-specific constraints, and internal system boundaries.
Understanding Context-Aware Prompt Sets
Context-aware prompt sets evaluate an LLM application based on its specific operational parameters. When you provide the primary purpose, access boundaries, and prohibited actions of your target model, the system crafts tailored test attacks to assess vulnerabilities against OWASP categories and custom brand policies.
Before generating a context-aware prompt set, ensure you have:
- An active AI Red Teaming subscription.
- Sufficient quota balance. Each generated prompt consumes 50 quota credits (
prompt count × 50). - Clear behavioral specifications for your target application, including its intended function and prohibited behaviors.
Creating a Context-Aware Prompt Set
To generate a context-aware prompt set in the Netskope tenant:
- In the Netskope tenant UI, go to AI Red Teaming > Prompt Library.
- Click the Context-aware tab.
- Click New Prompt Set.
- In the Prompt Set Name field, enter a unique name of up to 100 characters.
- In the Application Description field, enter a description between 20 and 400 characters explaining what your application does and its prohibited behaviors.
- In the Language drop-down list, select English.
- In the Number of Prompts field, enter a value from 20 to 100.
- Verify the required quota in the Quota section.
- Click Generate.
The system deducts the estimated quota and generates your prompts. When generation finishes, the dialog box closes and your new prompt set appears on the Context-aware tab.

Managing Context-Aware Prompt Sets
You can update, export, or remove existing prompt sets directly from the list view.
On the Context-aware tab of the Prompt Library page, locate the prompt set and use either of the following methods to manage it:
- At the end of the prompt set row, click the more options icon (
...) and choose an action:- Edit: Open the prompt set to update its contents, upload additional prompts, or export the set.
- Delete: Permanently delete the prompt set from your library.
- Click the prompt set name to open the set and perform any of the following actions:
- Rename: Click the prompt set name to edit it inline, and then press Enter.
- Upload: Click Upload to add more prompts from a CSV or JSON file.
- Export: Click Export to download the prompt set to your computer in CSV or JSON format.


