balphi·vor 2 Jahren·discussHow are you using regex to end the while loop? Are you detecting a specific substring or is it something more complex?
balphi·vor 2 Jahren·discussI think its unintuitive relative to the standard implementation of RAG today (e.g. vector-based similarity)