What is the best way to stream partial structured data using Instructor?
I'm building a real-time dashboard and I want to show the LLM's progress as it generates a large list of items. I’m using Instructor, but I'm not sure how to handle partial objects. Is there a specific way to iterate over a response so that the UI updates as each field is filled in, rather than waiting for the entire JSON block to finish?
Write a Comment
Your email address will not be published. Required fields are marked (*)