mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-08-28 05:25:04 +00:00
16 lines
360 B
Python
16 lines
360 B
Python
from abc import ABCMeta, abstractmethod
|
|
|
|
from memory_scope.chat.memory_service import MemoryService
|
|
|
|
|
|
class BaseMemoryChat(metaclass=ABCMeta):
|
|
|
|
def __init__(self, **kwargs):
|
|
self.memory_service = MemoryService(**kwargs)
|
|
|
|
@abstractmethod
|
|
def chat_with_memory(self, query: str):
|
|
"""
|
|
:param query:
|
|
:return:
|
|
"""
|