Hacker News new | ask | show | jobs
by kristjansson 1125 days ago
If a user is waiting on the response, you basically have to stream the result instead of waiting on the entire completion.
2 comments

There's no real benefit to streaming if you are planning to use the LLM output downstream (say, in a SQL query). LLM latency is a major annoyance right now, whether locally-hosted or cloud-based.
Yea, that is probably a better solution. Not an easy one to refactor into at the moment though.