You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all, I want to retrieve the source nodes from a stream response of ContextChatEngine.chat. When I look at the code, I observe that each chunk of the stream response has the source nodes attached to it in a duplicate manner. Is it a bug or a feature intentionally designed? What's the recommended way to extract the source codes from a streaming response? Thank you!
@himself65 so your idea is to remove the source nodes out of the stream and instead move them to some response context that can be read while streaming and that can contain more information? Sounds great
Hi all, I want to retrieve the source nodes from a stream response of ContextChatEngine.chat. When I look at the code, I observe that each chunk of the stream response has the source nodes attached to it in a duplicate manner. Is it a bug or a feature intentionally designed? What's the recommended way to extract the source codes from a streaming response? Thank you!
LlamaIndexTS/packages/core/src/engines/chat/ContextChatEngine.ts
Line 89 in bcc3d0b
The text was updated successfully, but these errors were encountered: