Skip to content

Introduces support for streaming text responses in the Activity Proto… #167

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gurubhg
Copy link

@gurubhg gurubhg commented May 21, 2025

…col via a new streaminfo entity.

  • Definition of the streaminfo entity.
  • Guidelines for using streaminfo in typing and message Activities to send chunked text responses.
  • Addition of streaminfo to the list of supported non-IRI entity types in Appendix II.
  • Documentation update with examples and a changelog entry under Appendix I.

Related to #36
See also #27

@gurubhg gurubhg force-pushed the users/guhiriya/activity_schema_changes branch from 90f5b55 to 13b6e23 Compare June 4, 2025 12:56
@gurubhg gurubhg requested review from tracyboehrer and Copilot June 4, 2025 12:59
Copilot

This comment was marked as outdated.

@gurubhg gurubhg requested a review from Copilot June 9, 2025 07:03
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for streaming text responses by introducing a new streaminfo entity and updating the Activity Protocol documentation accordingly.

  • Defines the streaminfo entity schema and streaming guidelines.
  • Adds streaminfo to Appendix II’s non-IRI entity list and provides usage examples.
  • Updates version, changelog entry under Appendix I, and provides fallback instructions for unsupported channels.
Comments suppressed due to low confidence (3)

specs/activity/protocol-activity.md:1533

  • The changelog bullet omits streamId, which is a required property in the new entity schema. Please include streamId in this summary.
* Defined `streamType`, `streamSequence`, and optional `streamResult`

specs/activity/protocol-activity.md:1650

  • The entity type is defined elsewhere as streaminfo (all lowercase). Please unify the casing in this table row to streaminfo for consistency.
| streamInfo     | N/A                                     | Streaming text metadata   |

specs/activity/protocol-activity.md:1704

  • Other entity property tables use number as the type for numeric fields. Consider changing integer to number to maintain consistency.
| `streamSequence` | integer | Yes      | Incrementing sequence number for each chunk for non-final messages              |

…col via a new streaminfo entity.

  - Definition of the `streaminfo` entity.
  - Guidelines for using streaminfo in typing and message Activities to send chunked text responses.
  - Addition of streaminfo to the list of supported non-IRI entity types in Appendix II.
  - Documentation update with examples and a changelog entry under Appendix I.
@gurubhg gurubhg force-pushed the users/guhiriya/activity_schema_changes branch from 13b6e23 to 80c6bd9 Compare June 9, 2025 08:07
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

Successfully merging this pull request may close these issues.

3 participants