Skip to content

Pm-memos_api#3

Closed
2Rant wants to merge 246 commits intoNyakult:mainfrom
2Rant:pm
Closed

Pm-memos_api#3
2Rant wants to merge 246 commits intoNyakult:mainfrom
2Rant:pm

Conversation

@2Rant
Copy link
Copy Markdown
Collaborator

@2Rant 2Rant commented Sep 25, 2025

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (does not change functionality, e.g. code style improvements, linting)
  • Documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Please delete options that are not relevant.

  • Unit Test
  • Test Script (please provide)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have checked my code and corrected any misspellings

Maintainer Checklist

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Made sure Checks passed

Ki-Seki and others added 30 commits July 7, 2025 16:41
…r#17)

* ci: Add issue templates for bug reports and feature requests; update pull request template and GitHub Actions workflow

* docs: Add CONTRIBUTING guidelines to the repository

* docs: Update contribution guidelines link in README
docs: add long version MemOS paper

Co-authored-by: Wang Hanyu <128483880+MarrytheToilet@users.noreply.github.com>
* feat(eval): add eval dependencies

* feat(eval): add configs example

* docs(eval): update README.md

* feat(eval): remove the dependency (pydantic)
…or testing (MemTensor#23)

Co-authored-by: CaralHsi <caralhsi@gmail.com>
Co-authored-by: CaralHsi <caralhsi@gmail.com>
* ci: include mac and win

* fix: use pathlib for cross-platform path handling in cube creation test

* fix: improve file path handling in test_dump using os.path.join

* fix: use a small hf model instead

* fix: add LLMFactory mock to test MOS initialization with invalid user

* fix: remove warning about platform support

* fix:db close in windows for sqlitedb

* fix: fix ci

* fix: delete db after close and get permission

* ci: explicitly checks macos-14 and macos-15

* docs: add warning about macOS compatibility

---------

Co-authored-by: fridayL <lcy081099@gmail.com>
* feat(eval): add eval dependencies

* feat(eval): add configs example

* docs(eval): update README.md

* feat(eval): remove the dependency (pydantic)

* feat(eval): add run locomo eval script

* fix(eval): delete about memos redundant search branches

* chore: fix format
* feat: add cot and internet search for memory

* fix: update openapi

* fix:change examples name
…ensor#45)

* docs: update pull request template for clarity and completeness

* docs: fix
- Project Management:

Added issue templates and updated pull request template for better
contribution workflow
Enhanced PR template for clarity and completeness

- 📖 Documentation & Research:
     Published long version of MemOS paper
     Updated citations and references

Migrated all documentation to dedicated MemOS-Docs repository
Improved documentation structure and accessibility

- 🧪 Evaluation & Testing:

Added evaluation configuration examples
Implemented run locomo eval script for performance testing
Fixed redundant memory search branches in evaluation system

- 🔧 Features & Functionality:

Added internet retrieval capabilities to MemOS
Implemented Chain-of-Thought (CoT) functionality
Fixed ParsedTaskGoal usage in examples
Added unrelated memory filtering functionality
* feat(eval): add eval dependencies

* feat(eval): add configs example

* docs(eval): update README.md

* feat(eval): remove the dependency (pydantic)

* feat(eval): add run locomo eval script

* fix(eval): delete about memos redundant search branches

* chore: fix format

* feat(eval): add openai memory on locomo - eval guide

* docs(eval): modify openai memory on locomo - eval guide
* fix n4j cypher query

* feat: add llm extra body

* feat: update memory extraction prompt and result parser

* fix: evaluation locomo search

* ci: fix format and update test

* feat: update result json parser
Recent updates include:

Updated feature request template and documentation links/images
Added structure reorganizer and conflict resolver functionality
Implemented OpenAI memory integration with evaluation guide
Updated memory reader with bug fixes

Key changes: Template improvements, new conflict resolution tools,
memory system enhancements, and bug fixes.
* fix: reorganizer bug

* refactor: update conflict redundancy handling to archive nodes instead of deleting

* fix: mute redundancy resolution

---------

Co-authored-by: dany <973031439@qq.com>
* feat: add volcengine embedding support

* test: add volcengine embedding test

* feat(embedder): add support for ArkEmbedder

* fixed: minor typo fix and remove unnecessary function

* test: add image embedding test

* fixed: remove images embed support and test

* fixed: change chunk_size default value
* fix: GeneralTextMemory._embed_one_sentence Argument Error

* fix: fix unittest
* feat: add neo4j share-db example

* feat: add Shared Database Multi-Tenant Mode

* fix: neo4j auto create bug

* fix: tree text memory reorganizer bug

* feat: change 'RELATE_TO' to 'RELATE'

* fix: database exist bug

* feat: delete useless relation edge

* feat: finish Shared Database Multi-Tenant Mode

* feat: add share database multi tenant tree config

* feat: add shared-db mode config

* fix: file name bug in example tree text memory]

* style: add user_name from config
* feat: add api embedder

* test: add unittest for universal api embedder

* Update src/memos/embedders/universal_api.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/memos/configs/embedder.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* style: reformat

* style: reformat

---------

Co-authored-by: chunyu li <78344051+fridayL@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…Tensor#69)

feat: add embedder consistency check with warning and tests

Resolves configuration scope issue where MemCube and MOS embedder
configs could differ without user awareness.

Co-authored-by: chunyu li <78344051+fridayL@users.noreply.github.com>
* feat: add product API and related functionality (cleaned sensitive data)

* feat: add singleton for memos and llm

* fix:fix persistent_user_manager

* feat:update prompt and rm readme

* fix:ci code

* feat: update demo and add user manager (MemTensor#31)

* feat: add product API and related functionality (cleaned sensitive data)

* feat: add singleton for memos and llm

* fix:fix persistent_user_manager

* feat:update prompt and rm readme

* fix:ci code

* Feature & Fix bugs: mem scheduler with rabbitmq and web log submission
	* fix bug of message consuming
	* add a range of configs
	* support rabbitmq
	* add new docs for the beginner
	* add more examples

* fix:UserRole error

* update: update product api

* fix: suggestion mem

* update:fix add mem

* feat: update  chat

* fix: add uuid and product think

* update: search data

* fix:update

* fix:chat mem

* feat:vllm llm support version0

* feat: update zh en and mem

* feat: update cube ids

* feat:vllm llm support version0.5

* fix: memchat multi turn

* feat: add multi-language feature in mem-reader

* feat: add multi-language feature in mem-reader

* feat: add multi-language feature in tree reorganizer

* feat: reinforce language

* fix:fix search and add product tmp data

* fix bugs & refactor the code: mem scheduler support web log feature

* refactor & fix bugs: mem scheduler related codes including modules like dispatcher and retriever, the dependencies and the unittest.

* fix:remove dup

* feat: add logs

* feat:vllm llm support streaming generate and add benchmark script

* add: chat time for add

* fix:merge error

* fix:merge error

* feat & fix bugs: factor mem scheduler. test_retriever.py is waiting for test

* feat:add vllm chat model

* fix bugs: filter logging of retriever module in mem scheduler

* fix: test_api

* feat:update feat

* fix: manager

* feat: add vllm cahche

* fix bugs: fix scheduler logging bug of working memory replacement

* refactor: change default update interval

* fix bugs: fix bugs in  update activation memory in memory scheduler

* add support for azure backend

* feat: add deafult config overide for store config

* feat: add MOS_ENABLE_REORGANIZE config

* fix bugs: fix bugs of filter and updating activation memories

* fix bugs: change name

* feat: add act mme

* fix:poetry lock

* delete: del
 file

---------

Co-authored-by: chentang <travistang@foxmail.com>
Co-authored-by: Kai <kakack@126.com>
Co-authored-by: 席阳阳 <caralhsi@gmail.com>
Co-authored-by: zhangyibo.114514 <zhangyibo.114514@bytedance.com>
fridayL and others added 29 commits September 23, 2025 16:11
* fix time

* add timed step for llm

* fix:ci code

* fix:test

* remove

* update

* feat: remove request body

* feat: remove trace id

* feat: remove trace id
* feat: add default processing in mem-reader

* feat: not include embedding
* fix time

* add timed step for llm

* fix:ci code

* fix:test

* remove

* update

* feat: remove request body

* feat: remove trace id

* feat: remove trace id

* feat: add workers

* feat: update load fast api
* fix time

* add timed step for llm

* fix:ci code

* fix:test

* remove

* update

* feat: remove request body

* feat: remove trace id

* feat: remove trace id

* feat: add workers

* feat: update load fast api

* add run
…o test if can answer current query. add more info for analysis
* feat: add default processing in mem-reader

* feat: not include embedding

* feat: add logger to detect remove-old-memory error
* feat: recall and searcher use parallel

* feat: recall and searcher format
## Description

<!--
Please include a summary of the changes below;
Fill in the issue number that this PR addresses (if applicable);
Fill in the related MemOS-Docs repository issue or PR link (if
applicable);
Mention the person who will review this PR (if you know who it is);
Replace (summary), (issue), (docs-issue-or-pr-link), and (reviewer) with
the appropriate information.

请在下方填写更改的摘要;
填写此 PR 解决的问题编号(如果适用);
填写相关的 MemOS-Docs 仓库 issue 或 PR 链接(如果适用);
提及将审查此 PR 的人(如果您知道是谁);
替换 (summary)、(issue)、(docs-issue-or-pr-link) 和 (reviewer) 为适当的信息。
-->

Summary: (summary)

Fix: #(issue)

Docs Issue/PR: (docs-issue-or-pr-link)

Reviewer: @(reviewer)

## Checklist:

- [ ] I have performed a self-review of my own code | 我已自行检查了自己的代码
- [ ] I have commented my code in hard-to-understand areas |
我已在难以理解的地方对代码进行了注释
- [ ] I have added tests that prove my fix is effective or that my
feature works | 我已添加测试以证明我的修复有效或功能正常
- [ ] I have created related documentation issue/PR in
[MemOS-Docs](https://github.com/MemTensor/MemOS-Docs) (if applicable) |
我已在 [MemOS-Docs](https://github.com/MemTensor/MemOS-Docs) 中创建了相关的文档
issue/PR(如果适用)
- [ ] I have linked the issue to this PR (if applicable) | 我已将 issue
链接到此 PR(如果适用)
- [ ] I have mentioned the person who will review this PR | 我已提及将审查此 PR
的人
## Description

<!--
Please include a summary of the changes below;
Fill in the issue number that this PR addresses (if applicable);
Fill in the related MemOS-Docs repository issue or PR link (if
applicable);
Mention the person who will review this PR (if you know who it is);
Replace (summary), (issue), (docs-issue-or-pr-link), and (reviewer) with
the appropriate information.

请在下方填写更改的摘要;
填写此 PR 解决的问题编号(如果适用);
填写相关的 MemOS-Docs 仓库 issue 或 PR 链接(如果适用);
提及将审查此 PR 的人(如果您知道是谁);
替换 (summary)、(issue)、(docs-issue-or-pr-link) 和 (reviewer) 为适当的信息。
-->

Summary: 
Added OpenTelemetry support (MemTensor#298, MemTensor#307).
Introduced OpenTelemetry to enhance observability and monitoring for the
system, helping to trace requests and measure system performance.

Chatbot API and reranker filter, fixed Pydantic bug (MemTensor#294, MemTensor#303).
Added a new chatbot API and incorporated a reranker filter to improve
the response quality. Also, fixed issues related to Pydantic validation
errors.

Updated Nebula to version 5.1.1 (MemTensor#311).
Updated to the latest version of Nebula (5.1.1), addressing any known
bugs and ensuring better performance with the new features.

Parallelized recall and searcher processes (MemTensor#337).
Improved the performance of recall and search operations by
parallelizing them, allowing for faster query handling.

Added API client feature (MemTensor#334).
Introduced a new API client to facilitate easier interactions with the
system's API, likely for external integrations.


Fix: 
Fixed bugs in retriever, and added new auth info for Neo4j DB (MemTensor#313).
Addressed bugs in the retriever and improved authentication handling for
the Neo4j database, ensuring more reliable connections and data
retrieval.

Docs Issue/PR: (docs-issue-or-pr-link)

Reviewer: @(reviewer)

## Checklist:

- [x] I have performed a self-review of my own code | 我已自行检查了自己的代码
- [x] I have commented my code in hard-to-understand areas |
我已在难以理解的地方对代码进行了注释
- [ ] I have added tests that prove my fix is effective or that my
feature works | 我已添加测试以证明我的修复有效或功能正常
- [ ] I have created related documentation issue/PR in
[MemOS-Docs](https://github.com/MemTensor/MemOS-Docs) (if applicable) |
我已在 [MemOS-Docs](https://github.com/MemTensor/MemOS-Docs) 中创建了相关的文档
issue/PR(如果适用)
- [ ] I have linked the issue to this PR (if applicable) | 我已将 issue
链接到此 PR(如果适用)
- [ ] I have mentioned the person who will review this PR | 我已提及将审查此 PR
的人
feat: 实现äºprefeval memos-api evaluation scripts
@2Rant 2Rant closed this Sep 25, 2025
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.