Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] parsing issues in frontend #166

Open
sinedied opened this issue Dec 12, 2023 · 6 comments
Open

[bug] parsing issues in frontend #166

sinedied opened this issue Dec 12, 2023 · 6 comments
Assignees
Labels
bug Something isn't working frontend Frontend features or code must-have-enhancement-iteration

Comments

@sinedied
Copy link
Contributor

sinedied commented Dec 12, 2023

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 sinedied added bug Something isn't working frontend Frontend features or code labels Dec 12, 2023
@anfibiacreativa anfibiacreativa self-assigned this Dec 27, 2023
@anfibiacreativa
Copy link
Member

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

Copy link

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 github-actions bot added the Stale label Feb 26, 2024
@sinedied sinedied removed the Stale label Feb 29, 2024
@zaccariafra
Copy link

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

@anfibiacreativa
Copy link
Member

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.

@nmahajanoii
Copy link

any update on the issue?

Copy link

github-actions bot commented Jul 3, 2024

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 github-actions bot added the Stale label Jul 3, 2024
@sinedied sinedied removed the Stale label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Frontend features or code must-have-enhancement-iteration
Projects
None yet
Development

No branches or pull requests

4 participants