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

Button to stop the chat response #1444

Open
oracle-code opened this issue Mar 18, 2024 · 2 comments
Open

Button to stop the chat response #1444

oracle-code opened this issue Mar 18, 2024 · 2 comments

Comments

@oracle-code
Copy link

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

none

Any log messages given by the failure

none

Expected/desired behavior

I would like to stop the chat response if I see that the answer produced is not good. Stopping during the response is essential since I don't want the token to be consumed entirely. Also for the front end, I would like the submit arrow in the chat box to turn to a stop icon while the response is being produced.

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

azd version?

run azd version and copy paste here.

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

@oracle-code
Copy link
Author

@pamelafox Any idea or know anyone who would know where to start to deploy this feature? I know that the app is built in an asynchronous way but other GenAI LLM apps are handling the stop feature when you see the assistant response.

@pamelafox
Copy link
Collaborator

Check out our discussion here:
#1221
The UI can be added, but I believe you may still end up with same token usage.

@pamelafox pamelafox changed the title Button to spot the chat response Button to stop the chat response Mar 28, 2024
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