Skip to content
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

Merged

Conversation

rithin-pullela-aws
Copy link
Contributor

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

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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.

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>
@rithin-pullela-aws rithin-pullela-aws temporarily deployed to ml-commons-cicd-env-require-approval December 16, 2024 19:13 — with GitHub Actions Inactive
@rithin-pullela-aws rithin-pullela-aws temporarily deployed to ml-commons-cicd-env-require-approval December 16, 2024 19:13 — with GitHub Actions Inactive
@rithin-pullela-aws rithin-pullela-aws temporarily deployed to ml-commons-cicd-env-require-approval December 16, 2024 22:29 — with GitHub Actions Inactive
Copy link
Collaborator

@mingshl mingshl left a 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!

@mingshl
Copy link
Collaborator

mingshl commented Dec 21, 2024

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.

@dhrubo-os dhrubo-os merged commit d09374c into opensearch-project:main Dec 24, 2024
8 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Dec 24, 2024
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)
tkykenmt pushed a commit to tkykenmt/ml-commons that referenced this pull request Dec 25, 2024
…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>
@Hailong-am
Copy link
Contributor

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!

this seems be left for intention, cc @Zhangxunmt @ylwu-amzn

@mingshl
Copy link
Collaborator

mingshl commented Dec 26, 2024

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!

this seems be left for intention, cc @Zhangxunmt @ylwu-amzn

can you elaborate the reason please?

rithin-pullela-aws added a commit to rithin-pullela-aws/ml-commons that referenced this pull request Dec 31, 2024
rithin-pullela-aws added a commit to rithin-pullela-aws/ml-commons that referenced this pull request Dec 31, 2024
…earch-project#3282)"

This reverts commit d09374c.

Signed-off-by: rithin-pullela-aws <rithinp@amazon.com>
ylwu-amzn pushed a commit that referenced this pull request Jan 4, 2025
…" (#3315)

This reverts commit d09374c.

Signed-off-by: rithin-pullela-aws <rithinp@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

[BUG] Missing application_type in GET Response for Created Memory
5 participants