Skip to content

[FEA]: Improve Mem0 plugin to work with v2 API + add mem0 Open Source option #384

@jeremykpark

Description

@jeremykpark

Is this a new feature, an improvement, or a change to existing functionality?

Improvement

How would you describe the priority of this feature request

High

Please provide a clear description of problem this feature solves

The current version of the Mem0 plugin located in the packages/aiqtoolkit_mem0ai folder was built for Mem0 v1 API, and some commands have been depreciated in Mem0's V2 API. This prevents it from working at all in my testing.

Additionally, we propose adding a plugin function example to support a local installation of Mem0, using Ollama and other local services for local development and testing.

Describe your ideal solution

The mem0_editor file needs to be updated to support v2 API.

Add an additional file should be added to the plugin for those looking to integrate Mem0 open source as a local instance with local resources, rather than using the cloud version. The cloud version Mem0 plugin file can remain, so developers can choose the best option for them, if they need to switch to cloud down the road.

Additional context

I have created a fix for these issues here: https://github.com/jeremykpark/aiq-mem0ai-config-samples

I will create a PR as well.

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I have searched the open feature requests and have found no duplicates for this feature request

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions