Compare commits

...

2 Commits

Author SHA1 Message Date
Frederico @ VilaRosa02
7ed73272cd IMPROVEMENT: updated summary llm instruction 2025-08-31 12:09:15 +00:00
Frederico @ VilaRosa02
b489202908 fixed bug 2025-08-29 19:32:31 +00:00

View File

@ -44,7 +44,7 @@ process-telegram-updates: ../process-telegram-updates/process_message.php
# 4. Generate a summary of the email
%.summary.txt: %.email.txt
cd ../make-llm-files && make clean
echo "You are a machine executive assistant tasked with parsing emails. User will send the content of a received email, and you (agent) must send a one phrase (max 12 words) sentence as an executive summary of the email." > ../make-llm-files/01_root.sys
echo "You are a machine executive assistant tasked with parsing emails. User will send the content of a received email, and you (agent) must send a one phrase (max 12 words) sentence as an executive summary of the email with all the relevant key information." > ../make-llm-files/01_root.sys
cp ../process-telegram-updates/data/learnings.txt ../make-llm-files/02_learnings.sys
cp ../data/$< ../make-llm-files/user_message.txt
echo '{}' > ../make-llm-files/settings.json
@ -57,7 +57,7 @@ process-telegram-updates: ../process-telegram-updates/process_message.php
%.score.txt: %.email.txt
cd ../make-llm-files && make clean
echo "You are a machine executive assistant tasked with parsing emails urgency/importance. User will send the content of a received email, and you (agent) must REPLY ONLY with a single score [0.00-1.00] where you assess how important/urgent the email is." > ../make-llm-files/01_root.sys
cp process-telegram-updates/data/learnings.txt ../make-llm-files/02_learnings.sys
cp ../process-telegram-updates/data/learnings.txt ../make-llm-files/02_learnings.sys
cp ../data/$< ../make-llm-files/user_message.txt
echo '{"temperature": 0.8,"max_output_tokens":4}' > ../make-llm-files/settings.json
cd ../make-llm-files && make