Skip to content

Fixed issue with extra spaces being added to LLM responses during combine. #2

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vorktanamobay
Copy link

About
I noticed that when generating players the markdown was not rendering properly and there were random word splits. I have corrected this by changing how llm responses are combined.

Changes

  • combining response with "".join instead of " ".join
  • added extra sentence-transformer for fun
  • adding missing dependencies to the requirements.txt file

- combining responses with `"".join` instead of `" ".join` which fixes the markdown formatting and random word splits
- added extra sentence-transformer for fun
@carnilio
Copy link

carnilio commented Jan 3, 2025

As far as I can tell, it still generate random spaces. It does this consequently for all my generated characters. Let me know if you need any info from me to figure out the culprit

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

Successfully merging this pull request may close these issues.

2 participants