Hacker News new | ask | show | jobs
by simonw 1255 days ago
I fired up the browser DevTools to see how this works. It submits the code directly to the OpenAI API (I like that it does this in the browser rather than forwarding my API key on to the useadrenaline.com server where it might end up logged) with the following options:

    {
        "model": "code-davinci-edit-001",
        "input": "### Code goes here ###",
        "instruction": "Identify and fix all bugs in this Python code."
    }
Then the application itself has a nice implementation of client-side diff presentation.

That was for the "lint" button - I didn't run this experiment for the "debug" button.

1 comments

> model": "code-davinci-edit-001"

Is that Adrenaline's own model (OpenAI let's you train your own model in their environment, right?), or OpenAI's model?