Flowise
Flowise copied to clipboard
FLOWISE_NEWLINEFLOWISE_NEWLINE
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"
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??
@chungyau97 @HenryHengZJ
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.
so is this issue fixed and deployed ? @arad1367
@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.
If possible, can you list down the step by step on how to replicate the issue?