logoalt Hacker News

cadamsdotcom • 05/15/2025 • 0 replies • view on HN

It'd be great to forbid comments eg. using some of the techniques pioneered by Outlines, Instructor et al.

For now I'll do it with some examples in my context priming prompt, like:

Do not emit comments. Instead of this:

    # frobnicate a fyzzit
    def frobnicate_fyzzit(self):
        """
        This function frobnicates a fyzzit.
        """

        # Get the fyzzit to frobnicate.
        fyzzit = ...
        ...
Do this:

    def frobnicate_fyzzit(self):
        fyzzit = ...
        ...