I would recommend changing it.
Show HN: AI-powered code correction that teaches you along the way
11–20 of 25 posts
Re: Show HN: AI-powered code correction that teaches you along the way
#12This is so useful, I just need ai to help me through my design too lol
Re: Show HN: AI-powered code correction that teaches you along the way
#13I have a somewhat related service https://aidev.codes but I have to default to using text-davinci-003 instead because the code-davinci-002 rate limit is very small (10-20 requests per minute).
I have been trying to contact their support about it for a month without any response.
Re: Show HN: AI-powered code correction that teaches you along the way
#14I tested this one some ruby, and it told me to break my code with typos. -- Replace "enable_starttls_auto" with "enable_starttls_aauto". I will be super interested when I can run this against a whole git repo codebase instead of a single file.
What I will probably actually do when I get a chance for aidev.codes is use OpenAIs embeddings with a vector search for relevant snippets for the prompt context. Or possibly use the gpt-index project which I think does that for me.
Re: Show HN: AI-powered code correction that teaches you along the way
#15 {
"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.
Re: Show HN: AI-powered code correction that teaches you along the way
#16Help me to understand but why would I use this as opposed to just pasting the code to ChatGPT? Also, it would be nice if there is a WebStorm plugin.
Because good products meet you where you are, in your workflow, as seamlessly as possible. Also, presumably they will continue to refine beyond what ChatGPT is doing with better models, smarter prompts, etc.
Also, without access to the model (eg. by merely calling OpenAI’s API), no one’s refining it. They need access to the actual model (eg. Bloom)
Re: Show HN: AI-powered code correction that teaches you along the way
#17I would love this as a Visual Studio or VS Code plugin. Using it as a standalone website looks fun too, can't wait to dig into this !
Re: Show HN: AI-powered code correction that teaches you along the way
#18Re: Show HN: AI-powered code correction that teaches you along the way
#19Help me to understand but why would I use this as opposed to just pasting the code to ChatGPT? Also, it would be nice if there is a WebStorm plugin.
Because good products meet you where you are, in your workflow, as seamlessly as possible. Also, presumably they will continue to refine beyond what ChatGPT is doing with better models, smarter prompts, etc.
Re: Show HN: AI-powered code correction that teaches you along the way
#20I 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 appl…
Is that Adrenaline's own model (OpenAI let's you train your own model in their environment, right?), or OpenAI's model?