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

allow image list output and can assign select event to each image #289

Open
jasstionzyf opened this issue Jan 14, 2025 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@jasstionzyf
Copy link

Very glad to see your project about react chatbot.
I currently try to build a image stock search chatbot,
It can allow user input query and response image list matched within the chatbot.
After show image list, user can select some of them then as next input to chatbot,
how to imolement such functions?
Generally, chatbot should support customer output, is this implement easy within this project?

@jasstionzyf jasstionzyf added the enhancement New feature or request label Jan 14, 2025
@tjtanjin
Copy link
Owner

Hey @jasstionzyf, for your case, you'll be looking at using the component attribute within a block to show your list of images. To facilitate clicking to proceed, you can look at params.goToPath. Relevant docs are here:

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

No branches or pull requests

2 participants