-
Notifications
You must be signed in to change notification settings - Fork 138
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 application_type to ConversationMeta; update tests #3282
Add application_type to ConversationMeta; update tests #3282
Conversation
Modify getMemory(Conversation) to return the application_type parameter. Include application_type in the ConversationMeta data model. Update existing tests to validate the new parameter. Signed-off-by: rithin-pullela-aws <rithinp@amazon.com>
a841543
to
3a46832
Compare
common/src/main/java/org/opensearch/ml/common/conversation/ConversationMeta.java
Show resolved
Hide resolved
common/src/main/java/org/opensearch/ml/common/conversation/ConversationMeta.java
Show resolved
Hide resolved
common/src/main/java/org/opensearch/ml/common/conversation/ConversationMeta.java
Show resolved
Hide resolved
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.
Thanks @rithin-pullela-aws for making the quick fix. Somehow this application_type was left out in the past version. This is a good find!
I added the backport label to 2.x branch, please double check which version this bug was left out and please add the backport version all to ways back to the version when this bug is introduced. |
Modify getMemory(Conversation) to return the application_type parameter. Include application_type in the ConversationMeta data model. Update existing tests to validate the new parameter. Signed-off-by: rithin-pullela-aws <rithinp@amazon.com> (cherry picked from commit d09374c)
…oject#3282) Modify getMemory(Conversation) to return the application_type parameter. Include application_type in the ConversationMeta data model. Update existing tests to validate the new parameter. Signed-off-by: rithin-pullela-aws <rithinp@amazon.com>
this seems be left for intention, cc @Zhangxunmt @ylwu-amzn |
can you elaborate the reason please? |
…earch-project#3282)" This reverts commit d09374c.
…earch-project#3282)" This reverts commit d09374c. Signed-off-by: rithin-pullela-aws <rithinp@amazon.com>
Modify getMemory(Conversation) to return the application_type parameter. Include application_type in the ConversationMeta data model. Update existing tests to validate the new parameter.
Description
Add application_type in conversation meta and make other parts of code compatible to this new parameter
Related Issues
Resolves #3279
Check List
--signoff
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.