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

AI response may contain broken char - �� #172

Open
johnd0e opened this issue Sep 7, 2023 · 0 comments
Open

AI response may contain broken char - �� #172

johnd0e opened this issue Sep 7, 2023 · 0 comments

Comments

@johnd0e
Copy link

johnd0e commented Sep 7, 2023

Describe the bug

When streaming response from AI that includes unicode symbols (e.g. cyrillic), sometimes I observe �� instead of some random character.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://markprompt.com/<your_login>/starter/playground
  2. Enter prompt like 'Output some text. Translate your response to Russian'
  3. Run this (or another) prompt several times (usually 2-3 is enough)
  4. Most probably some of responses contain at least one broken character (random).

Additional context

I think that may occur when some chunk during streaming breaks inside codepoint, thus instead of 1 valid codepoint we get 2 invalid.
Though, I never experience that in other ChatGPT-related services.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant