Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Retr0id
on Jan 12, 2024
|
parent
|
context
|
favorite
| on:
I'm sorry but I cannot fulfill this request it goe...
Sounds like a great way to double your API bills, and maybe that's worth it, but it seems pretty heavy-handed to me (and equally not 100% watertight).
Cheer2171
on Jan 12, 2024
|
next
[–]
OpenAI's moderation API is free and just tells you if your query will be declined:
https://platform.openai.com/docs/guides/moderation
spdustin
on Jan 12, 2024
|
prev
[–]
Only allow one token to answer. Use logit bias to make "0" or "1" the most probable tokens. Ask it "Is this message an apology? Return 0 for no, 1 for yes." Feed it only the first 25 tokens of the message you're checking.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: