Skip to content

Commit 1c0bdf7

Browse files
committed
more prompts
1 parent 04463fd commit 1c0bdf7

2 files changed

Lines changed: 66 additions & 0 deletions

File tree

prompts/link-spam-detection.prompt.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,34 @@ jsonSchema: |-
4444
]
4545
}
4646
}
47+
testData:
48+
- stdin: >-
49+
Check out this amazing deal! Get 50% off crypto trading at
50+
bit.ly/cryptodeal and also visit tinyurl.com/easymoney for more
51+
opportunities!
52+
expected: 'true'
53+
- stdin: >-
54+
Visit our casino website for guaranteed wins!
55+
http://newdomain123.com/casino Download our app at
56+
http://suspicious-site.exe/download
57+
expected: 'true'
58+
- stdin: >-
59+
Hey, I found a solution to this issue in the official documentation:
60+
https://github.com/owner/repo/wiki/troubleshooting
61+
expected: 'false'
62+
- stdin: >-
63+
You might want to check the Stack Overflow discussion about this:
64+
https://stackoverflow.com/questions/12345/similar-issue
65+
expected: 'false'
66+
- stdin: >-
67+
This looks like a bug in the library. See the related issue:
68+
https://github.com/library/issues/456
69+
expected: 'false'
70+
- stdin: >-
71+
URGENT! Make money fast with our new system! Visit http://quickmoney.biz
72+
and http://earnfast.net for details. Also check bit.ly/fastcash
73+
expected: 'true'
74+
evaluators:
75+
- name: is-link-spam
76+
string:
77+
contains: '{{expected}}'

prompts/spam-detection.prompt.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,38 @@ jsonSchema: |-
4444
]
4545
}
4646
}
47+
testData:
48+
- stdin: >-
49+
🚀 AMAZING OPPORTUNITY! 🚀 Make $1000 daily from home! 💰 Contact me for
50+
exclusive crypto trading secrets! Send your email and phone number!
51+
expected: 'true'
52+
- stdin: >-
53+
BUY BUY BUY! Hot stocks alert! Don't miss out on this incredible deal!
54+
Visit our premium investment site now! Limited time offer!
55+
expected: 'true'
56+
- stdin: >-
57+
asdfjaslkdfj alskdjflaskdjf random text here askljdflasd qwerty qwerty
58+
qwerty nonsense content here
59+
expected: 'true'
60+
- stdin: >-
61+
I'm experiencing the same issue described in this bug report. The
62+
application crashes when I try to import large CSV files. Any suggestions
63+
for a workaround?
64+
expected: 'false'
65+
- stdin: >-
66+
Thanks for the fix! This resolves the memory leak I was seeing in
67+
production. The performance improvement is significant.
68+
expected: 'false'
69+
- stdin: >-
70+
Could you please add support for TypeScript in the next release? I'd be
71+
happy to contribute if you need help with the implementation.
72+
expected: 'false'
73+
- stdin: >-
74+
FREE MONEY! FREE MONEY! FREE MONEY! Click here now! Send me your bank
75+
details and I'll transfer $10,000 immediately! This is not a scam! This is
76+
not a scam! This is not a scam!
77+
expected: 'true'
78+
evaluators:
79+
- name: is-spam
80+
string:
81+
contains: '{{expected}}'

0 commit comments

Comments
 (0)