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

Truncation of Responses for Long Text Inputs #18

Closed
rayspock opened this issue May 7, 2023 · 0 comments · Fixed by #22
Closed

Truncation of Responses for Long Text Inputs #18

rayspock opened this issue May 7, 2023 · 0 comments · Fixed by #22
Labels
bug Something isn't working

Comments

@rayspock
Copy link
Owner

rayspock commented May 7, 2023

Describe the bug
When using ChatGPT to generate responses that contain long text inputs, the response is sometimes truncated and not displayed in its entirety. This can make it difficult to understand the full meaning of the response.

To Reproduce
Steps to reproduce the behavior:

  1. Use ChatGPT to generate a response containing long text.
  2. Observe that the response is truncated and not fully displayed.
  3. Repeat several times to confirm the issue.

Expected behavior
The response should not be truncated.

Screenshots
screenshot-truncation-of-responses-from-chatgpt

@rayspock rayspock added the bug Something isn't working label May 7, 2023
@rayspock rayspock linked a pull request Aug 26, 2023 that will close this issue
rayspock added a commit that referenced this issue Aug 26, 2023
Fix the issue #18 

1. Add word divider check to prevent truncate word for streaming completion
2. Refactor code to make it more readable
3. Upgrade go version to 1.21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant