T
Typebotβ€’4mo ago
Erisch

Typebot adds unnecessary linebreaks to OpenAI assistant messages

Issue one: between paragraphs within one chat bubble seem to have too many line breaks Issue two: these breaks seem to stack on bulleted and numbered lists See attached screenshot for reference. The problem seems not to be connected to the version of GPT. I tested it with gpt-4-turbo-preview and gpt-3.5-turbo. Both show the same issue.
No description
18 Replies
Unknown User
Unknown Userβ€’4mo ago
Message Not Public
Sign In & Join Server To View
Erisch
Erischβ€’4mo ago
Typebot seems to add linebreaks to the Message that's received from OpenAI. So my expectation is: Typebot should not add any additional linebreaks.
Unknown User
Unknown Userβ€’4mo ago
Message Not Public
Sign In & Join Server To View
CptPlastic
CptPlasticβ€’4mo ago
I notice this to when the output includes a space with a bulleted list it doubles the spaces Are you using Mistel? Or open AI NVM I see open AI Mistral is the same way If you look at the output you will see it adds a space for evert new line getting longer and longer of spacing between entries 1 2 3 4
Erisch
Erischβ€’4mo ago
@CptPlastic I am using the OpenAI Assistant Integration @Vilela Ok. I will do that and come back when I did. Thanks!
Erisch
Erischβ€’4mo ago
@Vilela I made a console log. The log looks clean. The output doesn't. It seems there are a couple of unnecessary span elements created. I made screenshots for everything: console output, rendered html, and html view:
No description
No description
No description
Erisch
Erischβ€’4mo ago
And the config of my openai module
No description
Unknown User
Unknown Userβ€’4mo ago
Message Not Public
Sign In & Join Server To View
Erisch
Erischβ€’4mo ago
I have Version 2.22.0. Seems to be up to date. You mean I copy from console and paste here to discord?
Unknown User
Unknown Userβ€’4mo ago
Message Not Public
Sign In & Join Server To View
Erisch
Erischβ€’4mo ago
It seems that this commit you mentioned is not part of the typebot Github release 2.22.0. So I guess I don't have it. I use Cloudron so I have to wait until the next release I guess.
Sure, here are three fun UX things: 1. User Persona Mad Libs: This activity involves filling out a Mad Libs-style template to create fictional user personas. It's a playful way to understand different user characteristics and needs, and it can spark creativity in designing user-centered experiences. 2. UX Escape Room: Imagine an escape room where participants have to navigate through different user experience challenges and puzzles. It's a fun and interactive way to test and improve your UX skills while working as a team. 3. Design Critique Roulette: Gather a group of designers and take turns critiquing each other's designs in a fun and light-hearted way. It encourages constructive feedback, collaboration, and facilitates learning from different perspectives. These activities aim to make UX more enjoyable while fostering creativity, collaboration, and learning. πŸ˜„πŸ”
Like this?
CptPlastic
CptPlasticβ€’4mo ago
I use cloudron also
Unknown User
Unknown Userβ€’4mo ago
Message Not Public
Sign In & Join Server To View
CptPlastic
CptPlasticβ€’4mo ago
I just assumed it was all part of the same releases and cloudron just updated when a new release came out but. Sorry about that, makes since now that the commit is not part of the release we are on.
Erisch
Erischβ€’4mo ago
I see. I tried what you did. And I still have the additional linebreaks. So we just wait until the commit is part of the next release. Good to know that there is nothing wrong with my setup. πŸ™‚ Thanks for checking!
Baptiste
Baptisteβ€’4mo ago
Indeed, that's problematic. I'll release a new version now. Deploying v2.22.1 now
Erisch
Erischβ€’4mo ago
Awesome. I saw it on Github! Thanks!! πŸ™‚ I guess itβ€˜s available on Cloudron shortly.
CptPlastic
CptPlasticβ€’4mo ago
cloudron built a new version about 3hr after the new release so its there now.