Skip to content

Plast Mem + Graph #44

@kwaa

Description

@kwaa

Some thoughts on Graph implementation.

Why?

Most memory layers currently available include graph features, such as Mem0 and Zep.

Mnemis, in particular, achieves SOTA-level benchmark results on top of Graphiti: https://github.com/microsoft/Mnemis

How?

As a user, I would strongly dislike running two databases for a single service when deploying locally, so I would not attempt to introduce a dedicated graph database. (Another reason is that I have virtually no experience with graph databases.)

Currently, using a storage similar to tidb.ai seems reasonable. (#41 (comment))

The query options include:

  1. Recursive CTE (Add support for TiDB Cloud (TiDB Cloud / TiDB Zero) as a database backend #41 (comment))
  2. RAM (petgraph)
  3. Apache AGE (Not considered because it requires users to install extensions themselves and is incompatible with other databases)

Perhaps we can mix 1 and 2 as needed.

Things to do

A portion of Graphiti needs to be reimplemented in Rust.

blocks #41 #43

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions