How/where do you draw the line between LLM and deterministic code?
Quick example to explain the question - I was working with someone who was digesting web pages and documents (think SEC filings, earnings transcripts, etc.) which contained customer and prospect information, by sending the whole files to an LLM to extract the important parts and do some analysis. I helped them write deterministic code (using the same LLM) to pull most of what they needed from the files, use code to do the numerical analysis they wanted, and to put the data into a database, and then fed only the necessary extracted bits into the LLM for analysis. The result was more accurate results with ~1/5 the token cost. Yet going into that situation, they saw nothing wrong with feeding a ton of context into the LLM and had refined prompts and built skills so that the results were better and better. They were convinced that they were using AI "the right way" and were very pleased with the results.
Thus my question: How/where do you determine what needs to be code and what needs to be tokens? Or do you?
One thoughtful comment that is not AI-assisted unlocks full member privileges.
0 comments
No comments yet.