Open rishair opened 4 months ago
When streaming strings to the parser, it can be useful to receive partial text events to get results before a full textNode is returned.
textNode
Especially useful when receiving tokens from an LLM and wanting to stream the XML response as it appears.
Problem
When streaming strings to the parser, it can be useful to receive partial text events to get results before a full
textNode
is returned.Use Case
Especially useful when receiving tokens from an LLM and wanting to stream the XML response as it appears.
Tests