Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to expose functions within the Bot Component? #273

Open
howardtokka opened this issue Nov 11, 2024 · 1 comment
Open

How to expose functions within the Bot Component? #273

howardtokka opened this issue Nov 11, 2024 · 1 comment

Comments

@howardtokka
Copy link

howardtokka commented Nov 11, 2024

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)

@saltict
Copy link

saltict commented Jan 20, 2025

+1 for this idea, I also need this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants