Feat:memory sdk (#12538)

### What problem does this PR solve?

Move memory and message apis to /api, and add sdk support.

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
Lynn
2026-01-09 17:45:58 +08:00
committed by GitHub
parent 64b1e0b4c3
commit f9d4179bf2
22 changed files with 1475 additions and 61 deletions

View File

@ -26,6 +26,7 @@ from .modules.session import Session
from .modules.document import Document
from .modules.chunk import Chunk
from .modules.agent import Agent
from .modules.memory import Memory
__version__ = importlib.metadata.version("ragflow_sdk")
@ -36,5 +37,6 @@ __all__ = [
"Session",
"Document",
"Chunk",
"Agent"
"Agent",
"Memory"
]