Skip to content

Conversation

@Lovegoodstudy
Copy link
Contributor

@Lovegoodstudy Lovegoodstudy commented Dec 10, 2025

Purpose of the change

Add a sample integration with LlamaIndex.

Description

Add a sample integration with LlamaIndex.

examples/llamaindex/mem_machine_memory.py The MemMachineMemory class, which implements the BaseMemory base class, is provided for integration.
examples/llamaindex/example.py Provide an example of integration with LlamaIndex SimpleChatEngine.
examples/llamaindex/guide.md A guide how to integrate MemMachine with LlamaIndex.
examples/llamaindex/test_mem_machine_memory.py Test for MemMachineMemory class

Fixes/Closes

Fixes #(issue number)

Type of change

  • New feature (non-breaking change which adds functionality)
  • Documentation update

How Has This Been Tested?

Run test_mem_machine_memory.py for unit test.
Manually verify by running example.py according to guide.md.

[Please delete options that are not relevant.]

  • Manual verification (list step-by-step instructions)

Test Results: [Attach logs, screenshots, or relevant output]

Checklist

[Please delete options that are not relevant.]

  • I have signed the commit(s) within this pull request
  • My code follows the style guidelines of this project (See STYLE_GUIDE.md)
  • I have performed a self-review of my own code
  • I have commented my code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

Maintainer Checklist

  • Confirmed all checks passed
  • Contributor has signed the commit(s)
  • Reviewed the code
  • Run, Tested, and Verified the change(s) work as expected

Screenshots/Gifs

[If applicable, add screenshots or GIFs that show the changes in action. This is especially helpful for API responses. Otherwise, delete this section or type "N/A".]

Further comments

[Add any other relevant information here, such as potential side effects, future considerations, or any specific questions for the reviewer. Otherwise, type "None".]

@Lovegoodstudy Lovegoodstudy marked this pull request as ready for review December 10, 2025 08:09
@Lovegoodstudy Lovegoodstudy changed the title [WIP] feat: add llamaindex integrations feat: add llamaindex integrations Dec 10, 2025
@Lovegoodstudy Lovegoodstudy force-pushed the llamaindex_integration branch 3 times, most recently from 140dcd4 to ba908b4 Compare December 12, 2025 03:57
@mwqgithub mwqgithub merged commit 2c938ab into MemMachine:main Dec 12, 2025
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants