# Custom Analysis Prompts

Custom prompts let you create reusable instructions for the AI. Instead of typing the same detailed request every time, you save it as a prompt and select it from a dropdown before sending your message.

# What Is a Prompt?

A prompt is a set of instructions that tells the AI how to approach your data. It's sent alongside your question and the data to guide the AI's analysis.

Weavestream comes with a built-in default prompt designed for general-purpose analysis. You can also create your own prompts for specific use cases.

# Creating a Custom Prompt

  1. In the AI chat panel, click the prompt selector dropdown near the input box
  2. Choose to manage your prompts (add, edit, or delete)
  3. Give your prompt a descriptive name
  4. Write the instructions

# Writing Effective Prompts

A good custom prompt tells the AI:

  • What role to play — "You are a security analyst reviewing alert data"
  • What to focus on — "Focus on severity, frequency, and affected systems"
  • What format to use — "Provide your response as a numbered list of findings"
  • What to ignore — "Don't include informational-level alerts unless they show a pattern"

# Example Prompts

Security Alert Reviewer:

You are a security analyst. Review the provided alert data and:
1. Identify the most critical issues that need immediate attention
2. Group related alerts that might indicate a single root cause
3. Suggest remediation steps for the top issues
4. Flag any patterns that could indicate an ongoing attack
Prioritize by severity, then by frequency.

Weekly Summary Report:

Create a weekly summary report from this data. Include:
- Total item count and breakdown by status
- Notable trends compared to typical patterns
- Top 5 items that need attention
- Any items that have been open unusually long
Format as a professional report with clear sections.

Customer Support Triage:

Review these support tickets and categorize them:
- Urgent: Customers experiencing outages or data loss
- High: Broken functionality affecting workflows
- Medium: Issues with workarounds available
- Low: Feature requests and minor inconveniences
For each category, list the tickets and suggest a handling order.

# Using a Prompt

  1. Select a prompt from the dropdown before typing your message
  2. Type your specific question or instruction in the message box
  3. Send the message

The AI receives both your custom prompt and your message, along with the relevant data. The prompt sets the overall approach, and your message asks the specific question.

# Prompts Are Provider-Agnostic

Your custom prompts work with any AI provider — Claude, Ollama, or Apple Intelligence. You can switch providers without needing to rewrite your prompts.

# Tips

  • Be specific about output format. If you want bullet points, tables, or numbered lists, say so in the prompt.
  • Include domain context. The AI doesn't know your business. If "P1" means something specific in your organization, explain it in the prompt.
  • Keep prompts focused. A prompt for "security analysis" and a separate one for "weekly reporting" will work better than one that tries to do both.
  • Iterate. If the AI's responses aren't quite right, refine your prompt. Small wording changes can make a big difference.

# Next Steps