Closed linxz-coder closed 1 year ago
This is not how streaming works with Langchain. Here is a full example on how to stream intermediate steps and the final answer (introduced in the latest release).
This is not how streaming works with Langchain. Here is a full example on how to stream intermediate steps and the final answer (introduced in the latest release).
Thank you for answering that, I'll definitely check it out.
When I was using langchain Retrieval QA, I noticed that the "streaming = true" feature wasn't working properly, and I realized that the stream effect was only available in the terminal and not in the user interface.
To help out, I went ahead and wrote my own code as an example for everyone to refer to: