How to stream the text response from the RAG #1928
Unanswered
flavio-greenfact
asked this question in
Help
Replies: 1 comment 1 reply
-
I managed to create the streams, now the issue is how to create IA streams, I tried to use Langchain but no success
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am using Qdrant and got the response from the RAG, it is the final answer that I would like to stream to the UI using Vercel AI SDK, if I use the ChatOpenAI it will generate a new text, I just want to pass the answer I got from the RAG. I tried the code below, but I got an empty answer because I guess the line is wrong
await controller.enqueue(ragResponse);
Beta Was this translation helpful? Give feedback.
All reactions