Skip to content

How to expose functions within the Bot Component? #273

@howardtokka

Description

@howardtokka

Hello,
I want to send a message on behalf of a user using the handleSubmit() function within the Bot component.
How can I expose it to the top Chatbot level?

I am using the Fullpage Embded

<script type="module"> import Chatbot from "https://cdn.jsdelivr.net/npm/flowise-embed/dist/web.js" Chatbot.initFull({ chatflowid: someurl, apiHost: somehost, }) </script>

I want to do something like Chatbot.handleSubmit(messages)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions