aws-samples / aws-samples/amplify-ai-examples

Feature Request: Add Stop Button to AIConversation in Amplify GenAI

Open
#23 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
55
Forks
65
PR merge metrics
No merged PRs in 30d

Description

HI! I'm not entirely sure, but currently, while studying the Amplify documentation, I noticed that the AIConversation component in Amplify GenAI does not provide a way to stop message generation once it has started. This means that once a message is sent, the user must wait for the entire response to be generated before they can send another message.

Proposed Solution
Add a "Stop" button to AIConversation that allows users to cancel an ongoing message generation.

This feature is particularly useful for chat applications where users may change their questions or want to avoid long, undesirable responses.

Thank you for considering this feature request!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.