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

Integrate Memeory APIs of agent framework #15

Merged
merged 2 commits into from
Nov 28, 2023
Merged

Integrate Memeory APIs of agent framework #15

merged 2 commits into from
Nov 28, 2023

Conversation

gaobinlong
Copy link
Collaborator

Description

Integrate memory APIs of the agent framework in ml-commons plugin, such as:

  1. List conversations API
  2. Delete conversation API
  3. Update conversations API

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

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.

title: item._source.name,
version: 1,
createdTimeMs: Date.parse(item._source.create_time),
updatedTimeMs: Date.parse(item._source.create_time),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there any update time in the source data? I think we should use update time here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The backend API doesn't return update_time by now, it hasn't been implemented, I will update the code once it's ready.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe we can add some todo about it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Have done that, thanks!

Signed-off-by: gaobinlong <[email protected]>
@SuZhou-Joe SuZhou-Joe merged commit 979404d into opensearch-project:feature/agent-framework Nov 28, 2023
7 checks passed
This was referenced Dec 1, 2023
SuZhou-Joe pushed a commit that referenced this pull request Dec 1, 2023
* Integrate Memeory APIs of agent framework

Signed-off-by: gaobinlong <[email protected]>

* Add TODO to getSessions()

Signed-off-by: gaobinlong <[email protected]>

---------

Signed-off-by: gaobinlong <[email protected]>
SuZhou-Joe pushed a commit that referenced this pull request Dec 5, 2023
* Integrate Memeory APIs of agent framework

Signed-off-by: gaobinlong <[email protected]>

* Add TODO to getSessions()

Signed-off-by: gaobinlong <[email protected]>

---------

Signed-off-by: gaobinlong <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants