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

FLOWISE_NEWLINEFLOWISE_NEWLINE #4233

Open
arad1367 opened this issue Mar 31, 2025 · 6 comments
Open

FLOWISE_NEWLINEFLOWISE_NEWLINE #4233

arad1367 opened this issue Mar 31, 2025 · 6 comments
Labels
bug Something isn't working

Comments

@arad1367
Copy link

I have made a bot and I noticed that in long answers when bot try to answer in different paragraphs, in begin of every paragraph it start with "FLOWISE_NEWLINEFLOWISE_NEWLINE1" and next "FLOWISE_NEWLINEFLOWISE_NEWLINE2"

@aditya162002
Copy link

When your bot tries to write responses with multiple paragraphs, instead of showing clean paragraphs, it shows weird text like FLOWISE_NEWLINEFLOWISE_NEWLINE1 at the start of each paragraph. This happens because the system is trying to handle line breaks in a special way but doing it incorrectly.Think of it like this: The system was trying to mark where paragraphs should be, but it was doing it in a messy way that showed up in the actual text.i think i can fix it, can somebody assign this task to me??

@aditya162002
Copy link

@chungyau97 @HenryHengZJ

@arad1367
Copy link
Author

arad1367 commented Apr 1, 2025

I solved the problem with a custom JS function in configuration part. Another solution can be system orompt but for me custom JS works better.

@aditya162002
Copy link

aditya162002 commented Apr 1, 2025

so is this issue fixed and deployed ?
@arad1367

@arad1367
Copy link
Author

arad1367 commented Apr 2, 2025

@aditya162002
For my goal, as I mentioned the problem is solved with a custom JS function. I didn't need multiple paragraphs and I made it limit to one paragraph and short answers based on goal of our research(I used replace to final check as well). But definately the line problem should be check for other bots need multiple paragraphs.

@HenryHengZJ
Copy link
Contributor

If possible, can you list down the step by step on how to replicate the issue?

@HenryHengZJ HenryHengZJ added the bug Something isn't working label Apr 5, 2025
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

No branches or pull requests

3 participants