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

Chat widget - onResponse #1758

Closed
amin-nas opened this issue Dec 9, 2024 · 1 comment
Closed

Chat widget - onResponse #1758

amin-nas opened this issue Dec 9, 2024 · 1 comment
Assignees

Comments

@amin-nas
Copy link
Contributor

amin-nas commented Dec 9, 2024

Expose onResponse for chat widget so that I can log the message in my backend.

@TheNoumanDev
Copy link
Member

Example EDL:

onMessageReceived : |
   ensemble.debug(event.data); // data can have { 'content': content,'role': role, 'response': choice?.toMap() }

@github-project-automation github-project-automation bot moved this from In Progress to Released in Ensemble Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Released
Development

No branches or pull requests

2 participants