News for hackers. Stuff that matters.

throwaway63820

you mean the native `str.padStart(targetLength, padString)`
big fan of the approach & simplicity!
Claude's [new] tool usage is pretty good. Unlike with GPT-4 where I had to really minimize the context and descriptions for each tool, Claude Opus does better when provided more details and context for each tool.

I'm now using it with 9 different tools for https://olly.bot and it hits the nail on the head about 8/10 times. Anthropic says it can handle 250+ tools with 90% accuracy [1], but anecdotally from my production usage in the last 24 hours that seems a little too optimistic.

Of course, it also comes with a few idiosyncracies like sometimes spitting out <thinking> or <answer> blocks, and has more constraints on the messages field, so don't expect a drop-in replacement for OpenAI.

[1] https://docs.anthropic.com/claude/docs/tool-use#best-practic...

Re:Claude 3 model family on Monday March 04, 2024 @03:50PM (#39595882)
There's no theory.

Just in real life usage, it is extremely uncommon to stochastically query the model and use the most common answer. Using it with temperature 0 is the "best" answer as it uses the most likely tokens in each completion.

Re:Claude 3 model family on Monday March 04, 2024 @02:29PM (#39594856)
By virtue of increasing randomness, we got the correct answer once ... a monkey at a typewriter will also spit out the correct answer occasionally. Temperature 0 is the correct evaluation.

Show HN: Olly – A Personal Assistant in Apple iMessage

https://olly.bot

I've been building a personal AI assistant for my self that's accessible over iMessage. It's accessible on every Apple device and even CarPlay, which has been super useful and seamless to switch between devices and keep the conversation going.Anyways, I've found it useful and I've been slowly adding features. And now happy to release it more widely. It has no signups and collects no identifying...

( Read More... | 2 comments | on HN )
Re:Show HN: Darwin – Automate Your GitHub Project with AI on Tuesday February 27, 2024 @04:56PM (#39530635)
Thank you for the tip! Will add.
Re:URLs Make ChatGPT Stupid on Tuesday February 27, 2024 @12:47AM (#39520558)
It simply doesn't have the ability to visit a specific URL or answer questions about it. For that reason + a couple more niceties I use https://olly.bot
Re:Show HN: Darwin – Automate Your GitHub Project with AI on Monday February 26, 2024 @03:03PM (#39516143)
I like it! I built a command line AI coding assistant for my projects (https://codemancer.codes) when GPT-4 first came out, but still think this space is wayyy under explored given the possible capabilities.
My startup is taking off, but I'm on H1-B, about to get my perm and apply for I-140.

I haven't incorporated, haven't setup an LLC, have accepted payments on my girlfriend's sole proprietorship. What can I do here that doesn't screw me over when it comes time for my interview?

Just use Amplitude
Re:better synonyms_ on Thursday March 30, 2023 @10:59PM (#35381944)
That's true, but you can prompt the LLM to sort by other criteria and it will happily oblige. e.g. number of syllables, how posh the word sounds, or in this case relevance to the context.