azure-search-openai-javascript icon indicating copy to clipboard operation
azure-search-openai-javascript copied to clipboard

[bug] parsing issues in frontend

Open sinedied opened this issue 1 year ago • 6 comments

Sometime the parser fails at parsing some answers, for example for the question "How to contact a representative?" I get this:

image

This also occurs quite often when trying to cite sources when the backend is switched to the Python sample:

image

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

sinedied avatar Dec 12 '23 12:12 sinedied

We have reproduced and this typically happens when the LLM returns a phone number.

anfibiacreativa avatar Dec 27 '23 11:12 anfibiacreativa

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this issue will be closed.

github-actions[bot] avatar Feb 26 '24 01:02 github-actions[bot]

I was also facing this issue, getting a response splitted in bullets. While trying to solve the issue, I found out that disabling the "Stream chat completion responses" option somehow solves the issue. Didn't investigate more, but the issue might be related to generating the array that contains the response.

I hope it can help somehow

zaccariafra avatar Mar 27 '24 17:03 zaccariafra

I was also facing this issue, getting a response splitted in bullets. While trying to solve the issue, I found out that disabling the "Stream chat completion responses" option somehow solves the issue. Didn't investigate more, but the issue might be related to generating the array that contains the response.

I hope it can help somehow

Thank you for the context. We're evaluating moving that responsibility to the backend. Earlier when we delivered this sample, that was not possible, but we always planned to migrate the parser for performance reasons. I will reprioritize.

anfibiacreativa avatar Apr 15 '24 20:04 anfibiacreativa

any update on the issue?

nmahajanoii avatar May 03 '24 06:05 nmahajanoii

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this issue will be closed.

github-actions[bot] avatar Jul 03 '24 01:07 github-actions[bot]

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this issue will be closed.

github-actions[bot] avatar Sep 02 '24 01:09 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Sep 09 '24 01:09 github-actions[bot]