CMUEberlyCenter / eberly-docuscope-wa

Other
0 stars 0 forks source link

Occasionally, no text segments are highlighted when they should be. #77

Closed Ringenberg closed 1 month ago

Ringenberg commented 1 month ago

Occasionally, no text segments (sentences) are highlighted in the editor when a specific AI feedback is selected by the user.

This problem has been observed in the Term matrix, Check all expectations, and Lines of argument.

Ringenberg commented 1 month ago

Catching more "none" responses should help this for All Expectations.

Ringenberg commented 1 month ago

Adding scrollIntoView should help address paragraph highlighting in Term Matrix.

Ringenberg commented 1 month ago

Some of the lack of highlighting is because there are no sentences listed in the LLM's response, though often appropriately in all cases that I have seen.

sugurui commented 1 month ago

The desktop prototype shows a warning icon when no sentences are listed in the LLM's response. Can we do the same?

We can try to improve the prompt, but it would be nice if we can handle this case in case we cannot prevent it 100%.