forked from Blessedbiello/AiFininsights
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotes.txt
More file actions
16 lines (13 loc) · 754 Bytes
/
notes.txt
File metadata and controls
16 lines (13 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
https://platform.openai.com
# Add your OpenAI API key to .env file
// Example: More specific prompts for different student types
createInsightsPrompt(spendingData, studentType = 'general') {
const basePrompt = `Analyze this student's financial data: ${spendingData}`;
const typeSpecificGuidance = {
'freshman': 'Focus on building good financial habits and basic budgeting skills.',
'graduate': 'Emphasize advanced financial planning and investment opportunities.',
'international': 'Consider currency exchange and international banking factors.',
'general': 'Provide balanced advice suitable for typical college students.'
};
return `${basePrompt}\n\n${typeSpecificGuidance[studentType]}\n\nProvide structured analysis...`;
}