gateway/logs/debug/prompts/20251127-114241-104-paramplan_prompt.txt

62 lines
2 KiB
Text

You are a parameter generator. Set the parameters for this specific action.
OVERALL TASK CONTEXT:
-----------------
Test
-----------------
THIS ACTION'S SPECIFIC OBJECTIVE:
-----------------
Summarize the document to extract key points and main ideas.
-----------------
SELECTED_ACTION:
ai.summarizeDocument
LEARNING-BASED PARAMETER GUIDANCE:
No previous parameter failures. Use standard parameter values.
ATTEMPT NUMBER: 1
PREVIOUS FAILURE ANALYSIS:
{
"hasFailures": false
}
REPLY (ONLY JSON):
{{
"schema": "parameters_v1",
"parameters": {{
"paramName": "value"
}}
}}
CONTEXT FOR PARAMETER VALUES:
-----------------
Summarize the document with a focus on key points and main ideas.
-----------------
LEARNINGS (from prior attempts, if any):
- Focus on extracting key points to aid in understanding the document's main ideas.
REQUIRED PARAMETERS FOR THIS ACTION (use these exact parameter names):
- summaryLength (str, optional): Desired summary length - brief, medium, or detailed. Default: medium.
- focus (str, optional): Specific aspect to focus on in the summary (e.g., "financial data", "key decisions").
- resultType (str, optional): Output file extension (txt, md, docx, etc.). Default: txt.
INSTRUCTIONS:
- Use ONLY the parameter names listed in section REQUIRED PARAMETERS FOR THIS ACTION
- Fill in appropriate values based on the OVERALL TASK CONTEXT and THIS ACTION'S SPECIFIC OBJECTIVE
- Consider the overall task context when setting parameter values to ensure they align with the complete user request
- Do NOT invent new parameters
- Do NOT include: documentList, connectionReference, history, documents, connections
- CRITICAL: Follow the learning-based parameter guidance above
- Learn from previous validation failures and adjust parameters accordingly
RULES:
- Return ONLY JSON (no markdown, no prose)
- Use ONLY the exact parameter names listed in REQUIRED PARAMETERS FOR THIS ACTION
- Do NOT add any parameters not listed above
- Do NOT add nested objects or custom fields
- Apply learning insights to avoid repeated parameter mistakes