You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OUT1=$(./occ context_chat:prompt admin "Which factors are taken into account for the Ethical AI Rating?")
306
-
echo "$OUT1"
307
-
echo "$OUT1" | grep -q "If all of these points are met, we give a Green label." || exit 1
308
-
echo ::endgroup::
309
-
310
-
echo ::group::German prompt
311
-
OUT2=$(./occ context_chat:prompt admin "Welche Faktoren beeinflussen das Ethical AI Rating?")
312
-
echo "$OUT2"
313
-
echo "$OUT2" | grep -q "If all of these points are met, we give a Green label." || exit 1
314
-
echo ::endgroup::
318
+
# Each entry: "Label|prompt text|grep pattern|grep flags"
319
+
checks=(
320
+
"Text - Ethical AI Rating (EN)|Which factors are taken into account for the Ethical AI Rating?|If all of these points are met, we give a Green label.|"
321
+
"Text - Ethical AI Rating (DE)|Welche Faktoren beeinflussen das Ethical AI Rating?|If all of these points are met, we give a Green label.|"
322
+
"Text - occ maintenance mode|How do I enable maintenance mode in Nextcloud using the command line?|maintenance:mode --on|-iE"
323
+
"Text - background job configuration|What are the available background job execution methods in Nextcloud?|cron|webcron|ajax|-iE"
324
+
"STT - Amazon oxygen fraction|What fraction of the world's oxygen supply does the Amazon rainforest produce?|twenty percent|-i"
325
+
"STT - quantum computing|How does quantum computing perform calculations?|superposition|entanglement|-iE"
326
+
"STT - Jungle Book|Who raised Mowgli in the jungle and which villain does he face?|wolves|Shere Khan|-iE"
327
+
"OCR - invoice total|What is the total amount on invoice number 10042?|299|-E"
328
+
"OCR - train to Amsterdam|What time does the express train to Amsterdam depart from Platform 3?|08:14|"
0 commit comments