249
mallocPlusAI (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] BluesF@lemmy.world 4 points 9 months ago* (last edited 9 months ago)

I know a guy who was working on something like this, they just had the call to the model loop until the response met whatever criteria the code needed (e.g. one single number, a specifically formatted table, viable code, etc) or exit after a number of failed attempts. That seemed to work pretty well, it might mess up from time to time but it's unlikely to (with the right prompt) do so repeatedly when asked again.

[-] orca@orcas.enjoying.yachts 2 points 9 months ago

That’s a good approach. I think for my use case the struggle was trying to not use a ton of tokens (upper management was being stingy on that front). I kept trying to push to make it more robust but you know how those things go. Axed ahead of their time or zombified.

this post was submitted on 18 Oct 2024
249 points (100.0% liked)

Programming Horror

1910 readers
1 users here now

Welcome to Programming Horror!

This is a place to share strange or terrible code you come across.

For more general memes about programming there's also Programmer Humor.

Looking for mods. If youre interested in moderating the community feel free to dm @Ategon@programming.dev

Rules

Credits

founded 2 years ago
MODERATORS