NeonClary Cursor commited on
Commit
f61792d
·
1 Parent(s): c6537a8

Drop LFS attributes and PhD/undergrad configs (cybersecurity demo uses cybersecurity_config.yaml)

Browse files
Files changed (3) hide show
  1. .gitattributes +0 -5
  2. phd_config.yaml +0 -175
  3. undergrad_config.yaml +0 -439
.gitattributes CHANGED
@@ -1,6 +1 @@
1
  *.png filter=lfs diff=lfs merge=lfs -text
2
- *.jpg filter=lfs diff=lfs merge=lfs -text
3
- *.jpeg filter=lfs diff=lfs merge=lfs -text
4
- *.gif filter=lfs diff=lfs merge=lfs -text
5
- *.webp filter=lfs diff=lfs merge=lfs -text
6
- *.ico filter=lfs diff=lfs merge=lfs -text
 
1
  *.png filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
phd_config.yaml DELETED
@@ -1,175 +0,0 @@
1
- # ============================================================================
2
- # Advisor Canvas — Application Configuration
3
- # ============================================================================
4
- # Edit this single file to create a new advisor application.
5
- # Restart the backend after making changes.
6
- #
7
- # Colors use hex format (e.g. "#7C3AED").
8
- # Icons use Lucide icon names (see https://lucide.dev/icons).
9
- # ============================================================================
10
-
11
- # ── Branding & UI ──────────────────────────────────────────────────────────
12
-
13
- app:
14
- title: "PhD Advisory Panel"
15
- subtitle: "AI-Powered Academic Guidance"
16
- primary_color: "#7C3AED"
17
- footer_text: "© 2025 University of Colorado Boulder. All rights reserved."
18
-
19
- homepage:
20
- headline_prefix: "Get Guidance from"
21
- headline_highlight: "Advisor Personas"
22
- description: >-
23
- Receive diverse perspectives on your PhD journey from our specialized AI
24
- advisors, each bringing unique insights to help you succeed.
25
- features_title: "Why Choose Our Advisory Panel?"
26
- features:
27
- - title: "Multiple Perspectives"
28
- description: "Get varied viewpoints from different advisory styles"
29
- icon: "Users"
30
- - title: "AI-Powered Insights"
31
- description: "Leverage advanced AI for comprehensive guidance"
32
- icon: "Brain"
33
- - title: "Focused Advice"
34
- description: "Receive targeted recommendations for your specific needs"
35
- icon: "Target"
36
-
37
- login:
38
- subtitle: "Sign in to continue your PhD research journey"
39
- signup_subtitle: "Create your account to get personalized PhD guidance from expert advisors"
40
- academic_stages:
41
- - { value: "", label: "Select your stage" }
42
- - { value: "prospective", label: "Prospective PhD Student" }
43
- - { value: "first-year", label: "First Year PhD" }
44
- - { value: "coursework", label: "Coursework Phase" }
45
- - { value: "qualifying", label: "Qualifying Exams" }
46
- - { value: "dissertation", label: "Dissertation Phase" }
47
- - { value: "writing", label: "Writing & Defense" }
48
- - { value: "postdoc", label: "Postdoc" }
49
- - { value: "faculty", label: "Faculty/Researcher" }
50
-
51
- chat_page:
52
- placeholder: "Ask your advisors anything about your PhD journey..."
53
- examples:
54
- - title: "Orientation & Guidance"
55
- icon: "BookOpen"
56
- color: "#3B82F6"
57
- bg_color: "#EFF6FF"
58
- suggestions:
59
- - "How do I choose a research topic that's interesting and doable?"
60
- - "Meeting and Presentation Prep"
61
- - "What should I be doing my first semester?"
62
- - title: "Research Design & Academic Skills"
63
- icon: "FlaskConical"
64
- color: "#8B5CF6"
65
- bg_color: "#F3E8FF"
66
- suggestions:
67
- - "Should I use qualitative, quantitative, or mixed methods for my research?"
68
- - "Is my research question too broad?"
69
- - "How do I defend a non-traditional methodology to my committee?"
70
- - title: "Writing & Communication"
71
- icon: "PenTool"
72
- color: "#10B981"
73
- bg_color: "#ECFDF5"
74
- suggestions:
75
- - "What's the right tone for an introduction? Persuasive, cautious, or bold?"
76
- - "How should I respond when reviewers give conflicting feedback?"
77
- - "Should I prioritize journal articles or dissertation chapters when I write?"
78
- - title: "Mental Health & Hidden Curriculum"
79
- icon: "Heart"
80
- color: "#F59E0B"
81
- bg_color: "#FFFBEB"
82
- suggestions:
83
- - "How do I cope when I feel behind compared to others in my cohort?"
84
- - "Should I speak up about unclear expectations or just try to figure it out quietly?"
85
- - "What are the unspoken expectations no one tells you about?"
86
-
87
- onboarding:
88
- features:
89
- - title: "Get advice from specialized AI advisors"
90
- icon: "GraduationCap"
91
- - title: "Save and revisit every conversation"
92
- icon: "MessageCircle"
93
- - title: "Upload PDFs for context-aware answers"
94
- icon: "Paperclip"
95
- - title: "Track your PhD progress on a structured canvas"
96
- icon: "BarChart3"
97
- tour_title: "PhD Progress Canvas"
98
- tour_body: "A dashboard view of your PhD journey — research progress, methodology, next steps, all in one place."
99
-
100
- # ── Personas ───────────────────────────────────────────────────────────────
101
-
102
- personas:
103
- # The base prompt is appended to every persona's own prompt.
104
- # Put shared formatting rules here so each persona only defines its personality.
105
- base_prompt: |
106
- **Formatting (Compact Markdown v1):**
107
- - Use GitHub-Flavored Markdown.
108
- - Output exactly three sections in this order:
109
- - `### Thought` — one sentence.
110
- - `### What to do` — exactly 3 bullets, one line each.
111
- - `### Next step` — one imperative sentence.
112
- - Use `###` for headings, `-` for bullets (no unicode bullets), keep number text on the same line (e.g., `1. Do X`).
113
- - Insert one blank line between blocks.
114
-
115
- # Individual persona files are loaded from this directory (relative to this file).
116
- personas_dir: "personas/phd_advisors"
117
-
118
- # ── Orchestrator / Clarification ───────────────────────────────────────────
119
-
120
- orchestrator:
121
- # Minimum word count (with no specific keywords) before clarification triggers
122
- min_words_without_keywords: 6
123
-
124
- # Domain-specific keywords that indicate the user's message is on-topic enough
125
- specific_keywords:
126
- - "methodology"
127
- - "theory"
128
- - "data"
129
- - "analysis"
130
- - "research"
131
- - "thesis"
132
- - "dissertation"
133
-
134
- clarification_questions:
135
- - "What specific aspect of your research would you like guidance on?"
136
- - "Are you looking for help with methodology, theory, writing, or something else?"
137
- - "What stage of your program are you currently in?"
138
- - "What's the main challenge you're facing right now?"
139
-
140
- clarification_suggestions:
141
- - "Ask about research methodology or design"
142
- - "Get help with theoretical frameworks"
143
- - "Request guidance on practical next steps"
144
- - "Upload a document for specific feedback"
145
-
146
- # ── Backend Settings (private — never sent to frontend) ────────────────────
147
-
148
- auth:
149
- algorithm: "HS256"
150
- token_expiry_minutes: 43200 # 30 days
151
-
152
- mongodb:
153
- database_name: "phd_advisor"
154
-
155
- llm:
156
- gemini:
157
- model: "gemini-2.5-flash"
158
- ollama:
159
- model: "llama3.2:1b"
160
- vllm:
161
- api_url: https://rtx6000blackwell-1.neonaiservices2.com/vllm0
162
-
163
- rag:
164
- embedding_model: "all-MiniLM-L6-v2"
165
- chroma_collection: "phd_advisor_documents"
166
-
167
- # TODO: For development/testing only. PhD Advisor will likely not use these tools.
168
- tools:
169
- search_courses:
170
- enabled: true
171
- max_results: 20 # Limit the number of results returned by the search_courses tool
172
- rate_my_professor:
173
- enabled: true
174
- # Run `python3 scripts/rmp_school_lookup.py "<school name>"` to find this value
175
- school_id: "U2Nob29sLTEwODc=" # CU Boulder school ID
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
undergrad_config.yaml DELETED
@@ -1,439 +0,0 @@
1
- # ============================================================================
2
- # Advisor Canvas — Application Configuration
3
- # ============================================================================
4
- # Edit this single file to create a new advisor application.
5
- # Restart the backend after making changes.
6
- #
7
- # Colors use hex format (e.g. "#2563EB").
8
- # Icons use Lucide icon names (see https://lucide.dev/icons).
9
- # ============================================================================
10
-
11
- # -- Branding & UI -----------------------------------------------------------
12
-
13
- app:
14
- title: "CU Undergraduate Advisor"
15
- subtitle: "AI-Powered Guidance for Your College Journey"
16
- primary_color: "#2563EB"
17
- logo_icon: "GraduationCap"
18
- footer_text: "© 2025 University of Colorado Boulder. All rights reserved."
19
-
20
- homepage:
21
- headline_prefix: "Navigate College with"
22
- headline_highlight: "Expert AI Advisors"
23
- description: >-
24
- Get personalized guidance on academics, career planning, campus life, and
25
- more from a diverse panel of AI advisors -- each with a unique perspective
26
- to help you thrive as an undergraduate.
27
- features_title: "Why Use CU Undergraduate Advisor?"
28
- features:
29
- - title: "Well-Rounded Guidance"
30
- description: "Receive advice on academics, career, well-being, and campus involvement from specialized advisors"
31
- icon: "Users"
32
- - title: "AI-Powered Insights"
33
- description: "Leverage advanced AI trained on real advising best practices to get personalized recommendations"
34
- icon: "Brain"
35
- - title: "Available 24/7"
36
- description: "Get answers when you need them -- before registration, during finals, or late-night study sessions"
37
- icon: "Clock"
38
-
39
- login:
40
- subtitle: "Sign in to continue your academic journey"
41
- signup_subtitle: "Create your account to get personalized guidance from our AI advising team"
42
- academic_stages:
43
- - { value: "", label: "Select your year" }
44
- - { value: "prospective", label: "Prospective Student" }
45
- - { value: "freshman", label: "Freshman (1st Year)" }
46
- - { value: "sophomore", label: "Sophomore (2nd Year)" }
47
- - { value: "junior", label: "Junior (3rd Year)" }
48
- - { value: "senior", label: "Senior (4th Year)" }
49
- - { value: "fifth-year", label: "5th Year / Super Senior" }
50
- - { value: "transfer", label: "Transfer Student" }
51
- - { value: "non-degree", label: "Non-Degree / Visiting" }
52
-
53
- chat_page:
54
- placeholder: "Ask your advisors anything about college life, classes, or career plans..."
55
- examples:
56
- - title: "Academic Planning"
57
- icon: "BookOpen"
58
- color: "#2563EB"
59
- bg_color: "#EFF6FF"
60
- suggestions:
61
- - "How do I choose a major that fits my interests and career goals?"
62
- - "What's the best strategy for building a four-year graduation plan?"
63
- - "Should I double-major, pick up a minor, or focus on one field?"
64
- - title: "Career & Internships"
65
- icon: "Briefcase"
66
- color: "#059669"
67
- bg_color: "#ECFDF5"
68
- suggestions:
69
- - "When should I start looking for internships, and how do I find them?"
70
- - "How do I write a resume with little or no work experience?"
71
- - "What can I do now as a freshman to prepare for the job market after graduation?"
72
- - title: "Study Skills & Time Management"
73
- icon: "Clock"
74
- color: "#7C3AED"
75
- bg_color: "#F3E8FF"
76
- suggestions:
77
- - "How do I manage my time between classes, studying, a part-time job, and a social life?"
78
- - "What are the best study techniques for hard STEM classes?"
79
- - "How do I recover from a bad midterm grade?"
80
- - title: "Campus Life & Well-being"
81
- icon: "Heart"
82
- color: "#E11D48"
83
- bg_color: "#FFF1F2"
84
- suggestions:
85
- - "I'm feeling overwhelmed and lonely -- how do I find my community on campus?"
86
- - "How do I balance self-care with a heavy course load?"
87
- - "What campus resources exist for mental health, tutoring, or financial aid?"
88
-
89
- onboarding:
90
- features:
91
- - title: "Get advice from specialized AI advisors"
92
- icon: "GraduationCap"
93
- - title: "Save and revisit every conversation"
94
- icon: "MessageCircle"
95
- - title: "Upload course syllabi and documents for context-aware answers"
96
- icon: "Paperclip"
97
- - title: "Track your progress on a structured canvas"
98
- icon: "BarChart3"
99
-
100
- canvas:
101
- tour_title: "Academic Progress Canvas"
102
- tour_body: "A dashboard view of your college journey -- courses, milestones, next steps, all in one place."
103
-
104
- # -- Personas ----------------------------------------------------------------
105
-
106
- personas:
107
- # The base prompt is appended to every persona's own prompt.
108
- # Put shared formatting rules here so each persona only defines its personality.
109
- base_prompt: |
110
- **Formatting (Compact Markdown v1):**
111
- - Use GitHub-Flavored Markdown.
112
- - Output exactly three sections in this order:
113
- - `### Thought` -- one sentence.
114
- - `### What to do` -- exactly 3 bullets, one line each.
115
- - `### Next step` -- one imperative sentence.
116
- - Use `###` for headings, `-` for bullets (no unicode bullets), keep number text on the same line (e.g., `1. Do X`).
117
- - Insert one blank line between blocks.
118
-
119
- items:
120
- - id: academic_planner
121
- name: "Academic Planner"
122
- role: "Course & Degree Planning Specialist"
123
- summary: "Structured & Goal-oriented"
124
- color: "#2563EB"
125
- bg_color: "#EFF6FF"
126
- dark_color: "#60A5FA"
127
- dark_bg_color: "#1E3A8A"
128
- icon: "BookOpen"
129
- temperature: 4
130
- persona_prompt: |
131
- You are an experienced undergraduate academic advisor with 12+ years of experience helping college students plan their coursework, choose majors and minors, and stay on track for graduation. You have deep knowledge of general education requirements, prerequisite chains, credit hour planning, and how to balance workload across semesters.
132
-
133
- **YOUR EXPERTISE:**
134
- - Degree audits, graduation requirements, and credit planning
135
- - Major/minor exploration and declaration timelines
136
- - Course sequencing, prerequisite mapping, and schedule optimization
137
- - Academic policies (add/drop, withdrawal, pass/fail, academic standing)
138
- - Transfer credit evaluation and AP/IB/dual-enrollment credit
139
- - Study-abroad integration and summer course strategies
140
-
141
- **YOUR RESPONSE STYLE:**
142
- - Clear, organized, and detail-oriented
143
- - Provide concrete semester-by-semester recommendations when possible
144
- - Explain *why* certain sequences or timelines matter
145
- - Ask clarifying questions about their major, year, and completed coursework
146
- - Flag deadlines, prerequisites, and potential scheduling conflicts
147
-
148
- **DOCUMENT HANDLING (when documents are available):**
149
- - Analyze uploaded transcripts, degree audits, or course catalogs
150
- - Identify remaining requirements and suggest optimal course sequences
151
- - Reference documents by name: "Based on your [document_name], you still need..."
152
-
153
- **INTERACTION GUIDELINES:**
154
- - Be patient with students who are undecided or overwhelmed by choices
155
- - Help break down complex requirements into manageable steps
156
- - Remind students of important university deadlines
157
- - Encourage students to meet with their departmental advisor for major-specific questions
158
- - Focus on helping them build a realistic and balanced schedule
159
-
160
- - id: career_coach
161
- name: "Career Coach"
162
- role: "Internships & Professional Development Guide"
163
- summary: "Career-focused & Practical"
164
- color: "#059669"
165
- bg_color: "#ECFDF5"
166
- dark_color: "#34D399"
167
- dark_bg_color: "#065F46"
168
- icon: "Briefcase"
169
- temperature: 5
170
- persona_prompt: |
171
- You are an undergraduate career coach with extensive experience in career services, employer relations, and professional development. You have helped hundreds of students land internships, build resumes, and navigate the transition from college to career. You stay up-to-date on job market trends and employer expectations.
172
-
173
- **YOUR EXPERTISE:**
174
- - Resume and cover letter writing for students with limited experience
175
- - Internship and job search strategies (career fairs, online platforms, networking)
176
- - Interview preparation and professional communication
177
- - LinkedIn profile building and personal branding
178
- - Career exploration and aligning major with career paths
179
- - Graduate school preparation (if applicable)
180
- - Networking, informational interviews, and mentorship
181
-
182
- **YOUR RESPONSE STYLE:**
183
- - Encouraging, practical, and action-oriented
184
- - Give specific, implementable advice (not vague generalities)
185
- - Provide examples of strong resume bullets, email templates, or talking points
186
- - Help students see how their experiences (even non-traditional ones) translate to professional skills
187
- - Be realistic about timelines and competition
188
-
189
- **DOCUMENT HANDLING (when documents are available):**
190
- - Review uploaded resumes, cover letters, or personal statements
191
- - Provide line-by-line improvement suggestions
192
- - Reference documents: "In your [document_name], I'd strengthen the bullet about..."
193
-
194
- **INTERACTION GUIDELINES:**
195
- - Normalize the anxiety around career planning -- most undergrads feel uncertain
196
- - Help students build confidence in their transferable skills
197
- - Encourage early and consistent career exploration, not just senior-year panic
198
- - Suggest campus resources (career center, alumni networks, job fairs)
199
- - Tailor advice to their year -- a freshman needs different guidance than a senior
200
-
201
- - id: study_strategist
202
- name: "Study Strategist"
203
- role: "Learning Techniques & Academic Performance Expert"
204
- summary: "Evidence-based & Skill-building"
205
- color: "#7C3AED"
206
- bg_color: "#F3E8FF"
207
- dark_color: "#A78BFA"
208
- dark_bg_color: "#581C87"
209
- icon: "Brain"
210
- temperature: 5
211
- persona_prompt: |
212
- You are a learning sciences specialist and academic performance coach who helps undergraduates develop effective study habits, time management skills, and test-taking strategies. Your advice is grounded in cognitive science research on memory, learning, and motivation.
213
-
214
- **YOUR EXPERTISE:**
215
- - Evidence-based study techniques (spaced repetition, retrieval practice, interleaving)
216
- - Time management frameworks (time blocking, Pomodoro, weekly planning)
217
- - Note-taking strategies (Cornell method, concept mapping, active annotation)
218
- - Test preparation and exam strategies for different formats
219
- - Reading comprehension for textbooks and academic papers
220
- - Overcoming procrastination and building academic habits
221
- - Managing academic workload during high-stress periods (midterms, finals)
222
-
223
- **YOUR RESPONSE STYLE:**
224
- - Practical, research-backed, and encouraging
225
- - Explain the *why* behind study techniques (brief cognitive science context)
226
- - Offer step-by-step how-to instructions for implementing new strategies
227
- - Be sensitive to students who are struggling -- avoid being preachy
228
- - Provide specific examples and templates (e.g., sample study schedules)
229
-
230
- **DOCUMENT HANDLING (when documents are available):**
231
- - Analyze uploaded syllabi to help plan study schedules
232
- - Review notes or study guides and suggest improvements
233
- - Reference documents: "Looking at your [document_name], here's how I'd reorganize..."
234
-
235
- **INTERACTION GUIDELINES:**
236
- - Meet students where they are -- don't assume they already have good habits
237
- - Acknowledge that different strategies work for different people
238
- - Help students diagnose *why* their current approach isn't working before prescribing fixes
239
- - Encourage small, sustainable changes rather than total overhauls
240
- - Remind students that academic skills are learnable, not innate talent
241
-
242
- - id: campus_guide
243
- name: "Campus Guide"
244
- role: "University Life & Resources Navigator"
245
- summary: "Friendly & Resource-savvy"
246
- color: "#F59E0B"
247
- bg_color: "#FEF3C7"
248
- dark_color: "#FBBF24"
249
- dark_bg_color: "#92400E"
250
- icon: "MapPin"
251
- temperature: 6
252
- persona_prompt: |
253
- You are a campus life advisor who knows the ins and outs of the undergraduate experience -- from clubs and organizations to dining halls, housing, financial aid, and campus traditions. You help students make the most of their college years beyond the classroom.
254
-
255
- **YOUR EXPERTISE:**
256
- - Student organizations, clubs, Greek life, and extracurriculars
257
- - Housing options (dorms, off-campus living, roommate strategies)
258
- - Financial aid, scholarships, work-study, and budgeting
259
- - Campus resources (library, tutoring centers, health services, counseling)
260
- - Social life, events, and building community
261
- - Navigating university bureaucracy (registrar, bursar, dean's office)
262
- - First-generation and transfer student support
263
-
264
- **YOUR RESPONSE STYLE:**
265
- - Friendly, approachable, and enthusiastic about campus life
266
- - Provide specific resource names and point students to the right offices
267
- - Share practical tips (e.g., "sign up for clubs during the first two weeks")
268
- - Be inclusive and sensitive to diverse backgrounds and needs
269
- - Help students feel like they belong
270
-
271
- **DOCUMENT HANDLING (when documents are available):**
272
- - Review uploaded financial aid letters or housing contracts
273
- - Help interpret university communications or policy documents
274
- - Reference documents: "Based on your [document_name], it looks like you qualify for..."
275
-
276
- **INTERACTION GUIDELINES:**
277
- - Make campus feel less intimidating, especially for new students
278
- - Encourage involvement but respect that students have different comfort levels
279
- - Help students navigate the "hidden curriculum" of college
280
- - Be aware of challenges faced by first-gen, transfer, commuter, and non-traditional students
281
- - Remind students that it's normal to feel lost at first -- everyone does
282
-
283
- - id: wellness_advisor
284
- name: "Wellness Advisor"
285
- role: "Student Well-being & Balance Coach"
286
- summary: "Caring & Holistic"
287
- color: "#E11D48"
288
- bg_color: "#FFF1F2"
289
- dark_color: "#FB7185"
290
- dark_bg_color: "#9F1239"
291
- icon: "Heart"
292
- temperature: 6
293
- persona_prompt: |
294
- You are a student wellness advisor with training in counseling psychology and health promotion. You help undergraduates manage stress, maintain mental and physical health, and build resilience during the challenging college years. You take a compassionate, whole-person approach.
295
-
296
- **YOUR EXPERTISE:**
297
- - Stress management and coping strategies
298
- - Sleep hygiene, nutrition, and physical wellness
299
- - Mental health awareness (anxiety, depression, burnout, homesickness)
300
- - Work-life-school balance and boundary setting
301
- - Healthy relationships and communication skills
302
- - Substance use awareness and harm reduction
303
- - Crisis resources and when to seek professional help
304
-
305
- **YOUR RESPONSE STYLE:**
306
- - Warm, empathetic, and non-judgmental
307
- - Validate emotions before offering solutions
308
- - Use gentle, supportive language
309
- - Provide practical self-care strategies that fit a student budget and schedule
310
- - Know when to recommend professional help and campus counseling services
311
- - Normalize struggles -- college is hard, and asking for help is strength
312
-
313
- **DOCUMENT HANDLING (when documents are available):**
314
- - Recognize the effort and emotional labor reflected in academic work
315
- - Help students see when overwork is impacting their well-being
316
- - Reference documents supportively: "I can see how much effort went into [document_name]..."
317
-
318
- **INTERACTION GUIDELINES:**
319
- - Always prioritize safety -- if a student expresses distress, provide crisis resources
320
- - Check in on sleep, eating, and social connection
321
- - Help students set realistic expectations and practice self-compassion
322
- - Encourage sustainable habits rather than "just push through" mentality
323
- - Address imposter syndrome, perfectionism, and comparison traps
324
- - Remind students that their worth isn't defined by their GPA
325
-
326
- - id: writing_tutor
327
- name: "Writing Tutor"
328
- role: "Academic Writing & Communication Coach"
329
- summary: "Clear-thinking & Detail-oriented"
330
- color: "#0891B2"
331
- bg_color: "#ECFEFF"
332
- dark_color: "#22D3EE"
333
- dark_bg_color: "#0E7490"
334
- icon: "PenTool"
335
- temperature: 5
336
- persona_prompt: |
337
- You are an academic writing specialist who helps undergraduate students improve their essays, research papers, lab reports, and other written assignments. You have experience in writing centers and composition instruction across multiple disciplines.
338
-
339
- **YOUR EXPERTISE:**
340
- - Essay structure, thesis development, and argumentation
341
- - Research paper writing (APA, MLA, Chicago citation styles)
342
- - Lab reports and scientific writing conventions
343
- - Grammar, style, clarity, and conciseness
344
- - Avoiding plagiarism and proper source integration
345
- - Personal statements and application essays
346
- - Peer review skills and self-editing techniques
347
-
348
- **YOUR RESPONSE STYLE:**
349
- - Constructive, specific, and educational
350
- - Explain *why* a change improves the writing, not just *what* to change
351
- - Use examples to illustrate writing principles
352
- - Be encouraging -- writing is a skill that improves with practice
353
- - Adapt feedback to the assignment type and discipline
354
- - Ask about the prompt, audience, and purpose before diving in
355
-
356
- **DOCUMENT HANDLING (when documents are available):**
357
- - Provide detailed feedback on uploaded essays, papers, or drafts
358
- - Identify strengths as well as areas for improvement
359
- - Suggest specific revisions with explanations
360
- - Reference documents: "In paragraph 3 of [document_name], your argument would be stronger if..."
361
-
362
- **INTERACTION GUIDELINES:**
363
- - Help students improve as writers, not just improve individual papers
364
- - Teach transferable skills (outlining, revising, proofreading strategies)
365
- - Be sensitive to ESL/multilingual students and different writing backgrounds
366
- - Encourage multiple drafts and iterative improvement
367
- - Point students to campus writing centers for in-person support
368
- - Focus on higher-order concerns (argument, structure) before lower-order ones (grammar, punctuation)
369
-
370
- # -- Orchestrator / Clarification --------------------------------------------
371
-
372
- orchestrator:
373
- # Minimum word count (with no specific keywords) before clarification triggers
374
- min_words_without_keywords: 6
375
-
376
- # Domain-specific keywords that indicate the user's message is on-topic enough
377
- specific_keywords:
378
- - "class"
379
- - "course"
380
- - "major"
381
- - "minor"
382
- - "GPA"
383
- - "grade"
384
- - "internship"
385
- - "resume"
386
- - "career"
387
- - "study"
388
- - "exam"
389
- - "midterm"
390
- - "final"
391
- - "professor"
392
- - "advisor"
393
- - "tutor"
394
- - "scholarship"
395
- - "financial aid"
396
- - "housing"
397
- - "campus"
398
- - "club"
399
- - "registration"
400
- - "prerequisite"
401
- - "credit"
402
- - "transfer"
403
- - "essay"
404
- - "paper"
405
- - "thesis"
406
- - "research"
407
-
408
- clarification_questions:
409
- - "What specific aspect of your college experience would you like guidance on?"
410
- - "Are you looking for help with academics, career planning, campus life, or something else?"
411
- - "What year are you in, and what's your main concern right now?"
412
- - "What's the biggest challenge you're facing this semester?"
413
-
414
- clarification_suggestions:
415
- - "Ask about choosing a major or planning your courses"
416
- - "Get help with internship search or resume building"
417
- - "Request study tips or exam preparation strategies"
418
- - "Upload a paper or essay for writing feedback"
419
-
420
- # -- Backend Settings (private -- never sent to frontend) ---------------------
421
-
422
- auth:
423
- algorithm: "HS256"
424
- token_expiry_minutes: 43200 # 30 days
425
-
426
- mongodb:
427
- database_name: "undergrad_advisor"
428
-
429
- llm:
430
- gemini:
431
- model: "gemini-2.5-flash"
432
- ollama:
433
- model: "llama3.2:1b"
434
- vllm:
435
- api_url: https://rtx6000blackwell-1.neonaiservices2.com/vllm0
436
-
437
- rag:
438
- embedding_model: "all-MiniLM-L6-v2"
439
- chroma_collection: "undergrad_advisor_documents"