gateway/logs/debug/prompts/20251127-114235-100-refinement_prompt.txt

80 lines
2.5 KiB
Text

TASK DECISION
OBJECTIVE: 'Complete the user's main business objective as specified in their request.'
DECISION RULES:
1. "continue" = objective NOT fulfilled
2. "stop" = objective fulfilled
3. Return ONLY JSON - no other text
OUTPUT FORMAT (only JSON object to deliver):
{{
"decision": "continue",
"reason": "Brief reason for decision"
}}
OBSERVATION: {
"success": true,
"resultLabel": "round1_task1_action4_results",
"documentsCount": 2,
"previews": [
{
"name": "memo_analysis_report.json",
"mimeType": "text/plain",
"contentSize": "469 characters"
},
{
"name": "structured_content.json",
"mimeType": "application/json",
"contentSize": "3349 characters"
}
],
"notes": [],
"contentValidation": {
"overallSuccess": false,
"qualityScore": 0.5,
"documentCount": 2,
"validationDetails": [
{
"documentName": "memo_analysis_report.json",
"issues": [
"Size too small for a comprehensive analysis report"
],
"suggestions": [
"Ensure the document contains sufficient data to meet the analysis requirements"
]
},
{
"documentName": "structured_content.json",
"issues": [
"Filename does not clearly indicate the completion of the user's main business objective"
],
"suggestions": [
"Use a more descriptive filename that reflects the task objective"
]
}
],
"improvementSuggestions": [
"Ensure document sizes are adequate for the task objective",
"Provide more descriptive filenames that clearly reflect the task objective"
],
"schemaCompliant": true,
"originalType": "json",
"missingFields": []
},
"contentAnalysis": {}
}
CONTENT VALIDATION:
Overall Success: False
Quality Score: 0.50
Improvement Suggestions: Ensure document sizes are adequate for the task objective, Provide more descriptive filenames that clearly reflect the task objective
PROGRESS STATE:
Completed Objectives: 0
Partial Achievements: 4
Failed Attempts: 0
Current Phase: partial
Next Action Suggestions: Build on partial achievements, Ensure the filenames and formats align with a singular business objective and expected data type., Ensure that document sizes are reasonable for the task objective and that mimeTypes are consistent with the document formats., Ensure that the summarized content is comprehensive enough to meet the user's main objective, possibly by increasing the document size or content detail.