xiaozhi-esp32-server/main/xiaozhi-server/xiaozhi-memory/__init__.py

26 lines
592 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"""
小智记忆框架
轻量级AI记忆系统,支持多种检索模式
"""
from .core import MemoryManager, get_manager, RetrievalMode
from .memories import (
BaseMemory, FactMemory, IntentionMemory, PreferenceMemory,
MemoryType, MemoryStatus, IntentionStatus
)
from .llm import LLMClient, OpenAIClient
__version__ = "0.1.0"
__all__ = [
'MemoryManager',
'get_manager',
'RetrievalMode',
'BaseMemory',
'FactMemory',
'IntentionMemory',
'PreferenceMemory',
'MemoryType',
'MemoryStatus',
'IntentionStatus',
'LLMClient',
'OpenAIClient'
]