Hacker Newsnew | past | comments | ask | show | jobs | submit | balphi's commentslogin

How are you using regex to end the while loop? Are you detecting a specific substring or is it something more complex?


It detects if a message contains the ”Final Answer” substring preceded by a specific emoji. The emoji is there to make the substring relatively unique.


I think its unintuitive relative to the standard implementation of RAG today (e.g. vector-based similarity)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: