im about to spend the next few hours of my friday eve working this out. i shall not rest. (ill have to set it all up with langchain and then try integreate the llama index (right?))
this may be why sometimes it streamed the json string of the output with sources (like i wanted) and othertimes it just streamed the initial 'thoughts' and then stopped? that would make sense