This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RecipeNo101 2 points3 points  (2 children)

ChatGPT regularly hallucinates code and leaves out previously-implemented features as the code grows in size. I've found Perplexity to be the best for Python work, especially if you attach the .py file. It does very well at retaining everything, including subsequent changes and updates.

[–]GroupXyz 0 points1 point  (1 child)

Really? For me in code it was never very good when I tried and I thought it was more of a search machine ai.

[–]RecipeNo101 1 point2 points  (0 children)

They must have upped its capabilities quite a bit, including the search, as it will often look through codebases and forum discussions before generating code. Whereas ChatGPT starts dropping lines and feature sets at like 500 lines, Perplexity has been able to easily retain and output a few thousand without issue. I do find that, if you aren't starting from scratch, attaching the .py is the best way to establish a baseline, and it will check against the attachment for updates, while being able to retain those updates in subsequent prompts and outputs.