Are folks using copilots for generating code successfully? Mine gets confused on syntax a bunch but it's a local model which is general rather than code specific. Like I wonder if I am prompting it poorly or something

@mauve are you using ollama? There are many coding models you could easily pull and try out. It also features lots of Integrations into IDEs and text editors.

Follow

@hermeticvm Yeah I'm using continue.dev with ollama and phi3

Previously I used some 7B models that were just too slow.

The starcoder model has been giving okay suggestions once in a while but is super slow still. Deepseek seems to be too dumb to do anything useful.

@mauve I built a simple python app taking various file inputs in format x,y,z and convert it to a clean epub with the partial help of ChatGPT and codellama2 to covert to a specific open format and it worked pretty well. I didn't use any IDE integration but instead prompted them to be a guidance instead of writing the entire code autonomously.

Great to learn and I don't end up with code I don't understand and thus can't fix.

@hermeticvm Cool to hear ty for sharing. Is your code published somewhere I may read?

Today I was trying to get it to generate some cli commands in Node.js (this is with phi3+continue via ollama) but t has trouble adhering to the specific syntax and structure I wanted it to use.

I found a big issue for me has been hallucinated packages or APIs within packages. Maybe doing multi step stuff where inject context from api docs could help there.

Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.