https://www.boundaryml.com logo
v
I've been running into this quite a bit. I'm wondering whether it would be possible to improve performance here by running SAP on the thinking and one the output. Then compare whether the two match and raise a warning/error if not. The "edge case" is of course sap picking up too many results from the thinking
a
We just made sap only work on the nonthinkong output in 0.203
v
I know there was a bug related to this, but I actually mean something else here. The problem I initially described is that thinking models are not always faithful to their chain of thought. E.g. if they reach a conclusion false in their thinking, they output true. I think this could be controlled for with SAP by running it on both thinking and the output
a
ah gotcha, in this case it's hard to decide. We probably need to let users choose a heuristic like 'choose the first match' or 'choose the last match'
v
Yep. For me as a user I would find most beneficial if it just raised a warning so I can run the prompt again. In my use case, it is inexpensive to run the prompt again, but going forward with the wrong result is expensive since it affects a lot of downstream processing