3 ms·
at some extent I do agree with the point you're trying to make. But unless you include pagination needs to be handled as well, the LLM will naively just implem
by asabla 2y ago
at some extent I do agree with the point you're trying to make.
But unless you include pagination needs to be handled as well, the LLM will naively just implement the bare minimum.
Context matters. And supplying enough context is what makes all the difference when interacting with these kind of solutions.
- dijksterhuis 2y agonot parent, but > I asked the AI to write me some code to get a list of all the objects in an S3 bucket they didn’t ask for all the objects in the first returned page of the query they asked for all the objects. the necessary context is there. LLMs are just on par with devs who don’t read tickets properly / don’t pay attention to the API they’re calling (i’ve had this exact case happen with someone in a previous team and it was a combination of both).
- danielbln 2y agoLLMs differ though. Newest Claude just gave me a paginated solution without further prodding. In other more obscure cases I just add the documentation to it's context and let it work based on that.