Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions parser/academicCalendarsParser.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import (
)

// What gets sent to Gemini, with the PDF content added
// WARNING: Changes to this prompt will invalidate all cached AI responses, only change if necessary
var academicCalendarPrompt = `Parse this PDF content and generate the following JSON schema.

{
Expand Down
3 changes: 2 additions & 1 deletion parser/budgetsParser.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import (
)

// What gets sent to Gemini, with the PDF content added
// WARNING: Changes to this prompt will invalidate all cached AI responses, only change if necessary
var budgetPrompt = `Parse the content of these PDFs and generate the following JSON schema.

{
Expand Down Expand Up @@ -242,7 +243,7 @@ var budgetPrompt = `Parse the content of these PDFs and generate the following J
}
}

- Use the full UTD school names in this title text: School of Arts, Humanities, and Technology; School of Behavioral and Brain Sciences; School of Economic, Political and Policy Sciences; School of Engineering and Computer Science; School of Interdisciplinary Studies; School of Management; School of Natural Sciences and Mathematics.
- Use the full UTD school names in this title-case text: School of Arts, Humanities, and Technology; School of Behavioral and Brain Sciences; School of Economic, Political and Policy Sciences; School of Engineering and Computer Science; School of Interdisciplinary Studies; School of Management; School of Natural Sciences and Mathematics.
- In older years: School of Arts, Technology, and Emerging Communication; School of Arts & Humanities.
- Replace Brian with Brain in the School of Behavioral and Brain Sciences name if it is misspelled in the PDF.
- Always use the data listed for %s, not any previous years.
Expand Down
6 changes: 3 additions & 3 deletions runners/monthly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
./api-tools -headless -verbose -upload -map

# scrape, parse, and upload budgets
#./api-tools -headless -verbose -scrape -budgets -useBackupBudgets
#./api-tools -headless -verbose -parse -budgets -useBackupBudgets
#./api-tools -headless -verbose -upload -budgets -useBackupBudgets
./api-tools -headless -verbose -scrape -budgets -useBackupBudgets
./api-tools -headless -verbose -parse -budgets -useBackupBudgets
./api-tools -headless -verbose -upload -budgets -useBackupBudgets
Loading