Add conversation is replying usage example - #809
Open
jasveena15 wants to merge 1 commit into
Open
Conversation
❌ Deploy Preview for splashkit failed.
|
AAMIRAU
approved these changes
Aug 7, 2026
AAMIRAU
left a comment
There was a problem hiding this comment.
Reviewed the changes. The conversation_is_replying example is clear and consistent across all supported language versions. The streaming behaviour is demonstrated well and the implementation looks good to me.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request adds a new SplashKit usage example for the
conversation_is_replyingfunction in the Generative AI category.The example demonstrates how
conversation_is_replyingcan be used to determine whether a language model is still generating a response. While the conversation is replying, the program continuously retrieves and displays each reply piece usingconversation_get_reply_piece. Once the response is complete, the program displays a completion message.The usage example has been implemented consistently across all supported languages:
A descriptive title and an animated GIF demonstrating the streaming behaviour are also included.
No additional dependencies are required.
Type of change
How Has This Been Tested?
The example was tested locally in all supported languages.
Testing performed:
conversation_is_replyingcorrectly reports when the language model is still generating a response.conversation_get_reply_pieceuntil the reply was complete.Testing Checklist
Checklist
If involving code
If modified config files
Folders and Files Added/Modified
Added
Additional Notes
This example uses SplashKit's default language model and focuses on demonstrating how
conversation_is_replyingcan be used to monitor reply generation while streaming the response in real time usingconversation_get_reply_piece. The animated GIF has been included to better illustrate the streaming behaviour compared to a static image.