News for hackers. Stuff that matters.
Re:Claude 2 Internal API Client and CLI by armchairhacker on Friday July 14, 2023 @07:10PM (#36731174)
I used it to write unit tests. It does a lot better than GPT-4, solely because you can simply attach the files; whereas with GPT-4 I have to try to compress the code into something which fits inside the context window, or if using the API, even smaller.

The unit tests it wrote were very basic, and it still messed up in a few places. But unit tests are supposed to be basic, so IMO it did a good job.

I also like that it's a lot less wordy than GPT-4. GPT rambles and explains everything, Claude just states things or says "Let me know if ..." - most "paragraphs" are only a couple sentences.

Re:Claude 2 Internal API Client and CLI by tagawa on Friday July 14, 2023 @07:48PM (#36731528)
I find the ChatGPT file attachment issue is solved with Code Interpreter enabled ( in Settings -> Beta). It even understands zipped files, like a WordPress plugin, making its effective context limit much bigger.