I replaced 50 lines of code with a single LLM prompt
1–10 of 45 posts
Re: I replaced 50 lines of code with a single LLM prompt
#2Re: I replaced 50 lines of code with a single LLM prompt
#3And that’s a win?
Re: I replaced 50 lines of code with a single LLM prompt
#4Re: I replaced 50 lines of code with a single LLM prompt
#5So you replaced 50 lines of code with a service call to a service that burns massive amounts of electricity/cooling capacity, certainly runs slower, and adds a service dependency that could break on a whim without your knowledge? And that’s a win?
Sure, it absolutely might be a win. It depends on just how much accuracy they needed in the checking system in question.
It's also worth noting that one could utilize both. The assumed fast, low cost 50 lines of code on your server that takes care of the easy 97%. And then throw GPT4 at the stray hard cases. It requires being able to correctly identify when your code isn't up to the task of course.
Re: I replaced 50 lines of code with a single LLM prompt
#6Good luck debugging cases it gets wrong. LLMs seeping into cases that have one valid solution will bring so many new problems to random customers.
OP - You can also, as a double blind, use Google maps api calls which will return you a fully fledged address.
Re: I replaced 50 lines of code with a single LLM prompt
#7So you replaced 50 lines of code with a service call to a service that burns massive amounts of electricity/cooling capacity, certainly runs slower, and adds a service dependency that could break on a whim without your knowledge? And that’s a win?
Re: I replaced 50 lines of code with a single LLM prompt
#8Re: I replaced 50 lines of code with a single LLM prompt
#9Re: I replaced 50 lines of code with a single LLM prompt
#10So you replaced 50 lines of code with a service call to a service that burns massive amounts of electricity/cooling capacity, certainly runs slower, and adds a service dependency that could break on a whim without your knowledge? And that’s a win?
50 lines of code that were never going to work with great accuracy. Sure, it absolutely might be a win. It depends on just how much accuracy they needed in the checking system in question. It's also worth noting that one could utilize both. The assumed fast, low cost 50 lines of code on your server that takes care of the easy 97%. And then throw GPT4 at the stray hard cases. It requires being able to correctly identi…
Would be very interested in the longevity of this solution. It works today, but will it work in a month/year? A library file on the computer running the rest of the code isn't going to change.