Title: Typing effect
Last modified: February 1, 2023

---

# Typing effect

 *  [SIngular B](https://wordpress.org/support/users/singularblogs/)
 * (@singularblogs)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/typing-effect/)
 * Hi. First of all I want to thank you for the great job you are doing with this
   excellent plugin.
   I am doing some tests with the plugin before buying the pro
   version and it really works great.I wanted to know if it is possible some option
   so that the answers given by the chatbot appear with the “Typing” effect (like
   chatgpt) so that the user can go reading the answer, sometimes, with an answer
   a little long or in 2 paragraphs, part of the text is hidden at the top and can
   confuse the user by having to scroll to retrieve the answer.Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/typing-effect/#post-16431406)
 * Hi [@singularblogs](https://wordpress.org/support/users/singularblogs/),
 * _First of all I want to thank you for the great job you are doing with this excellent
   plugin._
 * Thanks a lot 🙂
 * _I wanted to know if it is possible some option so that the answers given by 
   the chatbot appear with the “Typing” effect (like chatgpt) so that the user can
   go reading the answer, sometimes, with an answer a little long or in 2 paragraphs,
   part of the text is hidden at the top and can confuse the user by having to scroll
   to retrieve the answer._
 * Normally, this effect is not used in traditional chatbots. However, it is used
   in ChatGPT for a very good reason: the answers are streamed from OpenAI servers
   in realtime (they come little by little, as they are generated), so it allows
   the users to appreciate them before the AI finishes the job.
 * Now, I know there are other systems or plugins that try to mimic that effects.
   I am not sure they understand technically why this effect happens at the first
   place, and they basically just try to replicate it without it being the real 
   thing. By doing that, they get a side effect: since they don’t use streaming,
   they actually delay the time it takes to the user to see the whole answer. So
   with their solution, not only you get an somewhat unnatural effect, but the answer
   comes a bit later as well. Personally, I don’t think it’s a good choice, but 
   just an attempt at pretending to be exactly like the _famous ChatGPT_ 😉
 * So basically, two ways:
    - Using streaming. That typewriter effect is not really a isual effect, it’s
      actually what’s happening (and it’s kind of cool, right!). Unfortunately, 
      in our case here, it would make the whole technical architecture tricky and
      limited, as it would require double streaming: OpenAI <> WordPress <> Front
      site. Of course, we could remove WordPress in the middle, but it means that
      we would need to have the API Key publicly disclosed, and we wouldn’t be able
      to do logging, taking over conversations (not that we can yet), limiting the
      requests, etc…
 *  - No streaming, but imitating the effect. Not only it will look very robotic(
      and it’s a trick) but there will be a huge down side: we will not be able 
      to use formatting in the reply (HTML, piece of code, etc). That effect would
      break it.
 * Luckily, there is an alternative solution: we should try to find an effect that
   looks nice, smooth, and don’t imply breaking the text. For example, once the 
   answer is ready to be displayed, we could have an effect where the placeholder
   expands without showing the reply yet (but gets “ready” for it), then it would
   swiftly appear with a little opacity transition. That would look really cool,
   no trick, and it works without breaking any feature. I would love to know what
   you guys think.
 * I know you didn’t expect such a long answer, but I will refer to this when I 
   am asked that question 🙂
 *  Thread Starter [SIngular B](https://wordpress.org/support/users/singularblogs/)
 * (@singularblogs)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/typing-effect/#post-16432657)
 * I didn’t think it was so complex the process and the consequences on formatting.
   Sorry for my ignorance about programming.
 * No doubt, although it is not essential, an alternative solution like the one 
   you comment will be appreciated, without breaking any feature.
 * Thank you Jordy.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Typing effect’ is closed to new replies.

 * ![](https://ps.w.org/ai-engine/assets/icon-256x256.png?rev=3431928)
 * [AI Engine - The Chatbot, AI Framework & MCP for WordPress](https://wordpress.org/plugins/ai-engine/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ai-engine/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ai-engine/)
 * [Active Topics](https://wordpress.org/support/plugin/ai-engine/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ai-engine/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ai-engine/reviews/)

 * 2 replies
 * 4 participants
 * Last reply from: [SIngular B](https://wordpress.org/support/users/singularblogs/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/typing-effect/#post-16432657)
 * Status: not a support question