gateway/logs/debug/prompts/20251127-114003-051-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:
-----------------
Generate a test document based on the provided context.
-----------------
SELECTED_ACTION:
ai.generateDocument
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:
-----------------
Generate a document titled 'Test Document' with placeholder content.
-----------------
LEARNINGS (from prior attempts, if any):
- No documents are available, so generate a document from scratch.
REQUIRED PARAMETERS FOR THIS ACTION (use these exact parameter names):
- prompt (str, required): Description of the document to generate.
- documentType (str, optional): Type of document - letter, memo, proposal, contract, etc.
- resultType (str, optional): Output format (docx, pdf, txt, md, etc.). Default: docx.
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