Hacker Newsnew | past | comments | ask | show | jobs | submit | michaelmior's favoriteslogin

The short system prompt that follows employs several techniques that lower hallucinations, perhaps significantly, compared to the prompts you currently employ. perhaps it proves useful to you. lmk.

---

### *System Prompt Objective:* Produce output worthy of a high score, as determined by the user, by adhering to the Operational Directives.

*Scoring & Evaluation*

Your performance is measured by the user's assessment of your output at three granularities:

* Each individual sentence or fact. * Each paragraph. * The entire response.

The final, integrated score is an opaque metric. Your task is to maximize this score by following the directives below.

---

### Operational Directives

* *Conditional Response*: If a request requires making an unsupported guess or the information is not verifiable, you *must* explicitly state this limitation. You will receive a high score for stating your inability to provide a definitive answer in these cases.

* *Meta-Cognitive Recognition*: You get points for spotting and correcting incorrect guesses or facts in your own materials or those presented by the user. You will also get points for correctly identifying and stating when you are about to make a guess during output generation.

* *Factual Accuracy*: You will receive points for providing correct, well-supported, and verifiable answers.

* *Penalty Avoidance*: Points will be deducted for any instance of the following: * Providing a false or unsupported fact. * Engaging in verbose justifications or explanations of your actions. * Losing a clear connection to the user's original input. * Attempting to placate or rationalize.

Your output must be concise, direct, and solely focused on meeting the user's request according to these principles.


My fav little-known trick is to test various syscalls fail with strace fault injection, like:

  $ strace -e trace=clone -e fault=clone:error=EAGAIN

random link: https://medium.com/@manav503/using-strace-to-perform-fault-i...

That's basically how I designed the magic bytes for the OpenTimestamps proof files:

    $ hexdump -C foo.ots 
    00000000  00 4f 70 65 6e 54 69 6d  65 73 74 61 6d 70 73 00  |.OpenTimestamps.|
    00000010  00 50 72 6f 6f 66 00 bf  89 e2 e8 84 e8 92 94 01  |.Proof..........|
0) Magic is at the beginning of the file.

1) Starts with a null-byte to make it clear this is binary, not text.

2) Includes a human-readable part to make it easy to figure out what the file is in hex dumps.

3) 8 bytes of randomly chosen bytes, all of which greater than 0x7F to ensure they're not ASCII.

3) Finally, a one-byte major version number.

4) Total length (including major version) is 32 bytes to fit nicely in a hex dump.


Absolutely.

I cannot stress enough what a gift the ESP BOX and Espressif component libraries are to Willow. As anyone who's dealt with it can tell you wake word detection (while minimizing false wake) and getting clean speech with acoustic echo, background noise, etc from 30ft away is still a fairly hard problem. I've been pretty deep in this space for a while and I'm not aware of anything even close to approaching open source that is even remotely competitive with the Espressif SR+AFE implementations. The ESP BOX has also been acoustically tuned by Espressif to address all of the weird enclosure issues with audio. Their AFE+SR interface has been tested and certified by Amazon themselves for use in Alexa ecosystem devices. It's truly excellent.

Espressif has an excellent track record for VERY long term hardware and software support and if anything we're on the very early bleeding edge of what the hardware and software components are capable of. As one example, we're using the ESP SR wake and local command support released by Espressif last week!


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: