• Resolved insellup

    (@insellup)


    Hello! Can you please tell me how I can set streaming options for specific chatbots? For example, for the text chat mode I have streaming enabled, but for the second chatbot’s image mode I need to disable streaming. Maybe this can be done somehow through filters?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Val Meow

    (@valwa)

    Hey @insellup! ??

    As of today, streaming is an all-or-nothing feature and is not interchangeable with filters. You should be able to use image generation with streaming enabled at the same time. If you are experiencing an issue of this kind, please let me know. ??

    Thread Starter insellup

    (@insellup)

    Hello, @valwa!

    Thanks for the answer! I was just wondering if it is possible to override the streaming parameter in the code itself, using the example of how this is implemented for mwai_chatbot_params
    add_filter( ‘mwai_chatbot_params’, function ( $atts ) {
    //
    }, 10, 1 );
    Tell me, is it possible to implement something similar using js MwaiAPI.addFilter? That is, if I place the script on a page with a chatbot for images, then after clicking on the “send” button, then show my own message? For example, “The image is being generated…”. And when the picture is generated, this message is automatically deleted. I want to make an additional loader with a message while the image is being generated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Streaming for a specific chat bot’ is closed to new replies.