3 ms·
> take this codebase and make it look like my code That's exactly what LLMs don't do. In my experience, there is no way to convince ChatGPT (even v4) to follow
by guy98238710 3y ago
> take this codebase and make it look like my code
That's exactly what LLMs don't do. In my experience, there is no way to convince ChatGPT (even v4) to follow any conventions or obey any rules. It might try a bit, but it always ends up writing everything its own way, usually as verbosely as possible.
- fswd 3y agoThen you're doing something wrong because it's exactly what it does for me. > Given this schema ... some create statement for a table > Use this as a template ... some unrelated function > I want you to implement this ... some pseudo code
- throwaway675309 3y agoYou are 100% false on this one, especially with GPT-4. I can take entire vanilla JS functions, and ask the language model to rewrite them using typescript, snake case naming conventions, and show it a block of other code that I've written to adhere to the same structure including jsdocs and it nails it nearly every time.
- guy98238710 3y agoIn your example, you are asking GPT-4 to rewrite code from one public style to another public style. I was saying that LLMs cannot reflect your personal style, because they know nothing about it. Even when instructed at length and provided with short examples (that fit in the context window), they always gravitate to the public average.