-
Notifications
You must be signed in to change notification settings - Fork 5.3k
add new features for Conversation Runtime #33086
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
add new features for Conversation Runtime #33086
Conversation
Next Steps to Merge✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge. |
PR validation pipeline restarted successfully. If there is ApiView generated, it will be updated in this comment. |
…ps://github.com/amber-ccc/azure-rest-api-specs into amber/apply_new_feature_for_ConversationRuntime
API Change CheckAPIView identified API level changes in this PR and created the following API reviews
|
specification/cognitiveservices/Language.Conversations/models/common.tsp
Outdated
Show resolved
Hide resolved
Is this PR actually ready for review now? I've been ignoring it as long as its been in draft, unless you flag me specifically for questions. |
Yes, this is ready for review now. Let me convert it. |
specification/cognitiveservices/Language.AnalyzeText/models/common.models.tsp
Show resolved
Hide resolved
Hi, @heaths , I have updated the code based on your comments, could you pls take a look and let me know? Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume you've updated the service to match the cancelAfterSeconds?: int32
change as well?
specification/cognitiveservices/Language.Conversations/models/common.tsp
Outdated
Show resolved
Hide resolved
Hi @heaths , |
I doubt you will, but we provide this feedback to provide consistency and for their benefit. Our guidelines say to put a unit of time/measurement in their to make it self-descriptive. |
Thanks for your suggestions, @heaths . For this part, I’m not working on the service side—I’m only handling the TypeSpec work based on service-side changes. So, I may need to keep the property as cancelAfter?: float32 to stay consistent with the service. We’re planning to release GA at the end of April or early May. We will review the customers' feedback and talk about this point again. |
Hi @mikekistler , I have addressed the comments and health has approved this PR, could you please add the signedOff label if everything looks good? Thank you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. 👍
* added new request and response Type * add version information for 2025_05_15 * adjust type to avoid breaking changes * added testing files for conversation runtime 2025-05-15 and modified the readme * revert to Typespec 0.66 version * added comments for Conversations Runtime 2025-05-15 * fixed Typespec validation * restore the base models to previous version and add the new models separately * add test for new feature * adjust the test json for the new feature * adjust the test json * modify the conversationItemIndex to optional * modified the model name * added cancelAfter in AnalyzeConversationJobRequest * add version info for the cancelAfter field * added `cancelAfter` for analyzetext of 2025-05-15-preview * added examples for AnalyzeConversations and AnalyzeText for 2025-05-15-preview * removed AnalyzeText for 2025-05-15 and generated it for version 2025-05-15-preview * modified the readme from 2025-05-15 to 2025-05-15-preview * fix Typespec validation * renamed the 'Conversation' to `AIConversation` * renamed analysisInput and parameters in Request * remove `role` in ConversationalAIItem * removed the `ConversationalAIPrediction` class * modified the `array` to `[ ]` * changed cancelAfter: float to cancelAfterSeconds: int * changed `array` to `[ ]` for version 2025-05-15-preview * restore to 'cancelAfter?: float32;'
Choose a PR Template
Switch to "Preview" on this description then select one of the choices below.
Click here to open a PR for a Data Plane API.
Click here to open a PR for a Control Plane (ARM) API.
Click here to open a PR for only SDK configuration.
fix #33141