gateway/logs/debug/prompts/20251127-113949-045-intentanalysis_prompt.txt

30 lines
1.3 KiB
Text

You are an intent analyzer. Analyze the user's request to understand what they want delivered.
USER REQUEST: 'Test'
CONTEXT: None
Analyze the user's intent and determine:
1. What type of data/content they want (numbers, text, documents, analysis, code, etc.)
2. What file format(s) they expect - provide matching file format extensions list
- If multiple formats requested, list all of them (e.g., ["xlsx", "pdf"])
- If format is unclear or not specified, use empty list []
3. What quality requirements they have (accuracy, completeness)
4. What specific success criteria define completion
5. What language the user is communicating in (detect from the user request)
CRITICAL: Respond with ONLY the JSON object below. Do not include any explanatory text, analysis, or other content before or after the JSON.
{
"primaryGoal": "The main objective the user wants to achieve",
"dataType": "numbers|text|documents|analysis|code|unknown",
"expectedFormats": ["pdf", "docx", "xlsx", "txt", "json", "csv", "html", "md"],
"qualityRequirements": {
"accuracyThreshold": 0.0-1.0,
"completenessThreshold": 0.0-1.0
},
"successCriteria": ["specific criterion 1", "specific criterion 2"],
"languageUserDetected": "en",
"confidenceScore": 0.0-1.0
}