mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-08-28 05:25:04 +00:00
17 lines
347 B
Python
17 lines
347 B
Python
from typing import List
|
|
|
|
from pydantic import BaseModel
|
|
|
|
from experiencemaker.schema.trajectory import Sample
|
|
|
|
|
|
class BaseSampleBuffer(BaseModel):
|
|
|
|
def add(self, samples: Sample | List[Sample]):
|
|
raise NotImplementedError
|
|
|
|
def get_all(self):
|
|
raise NotImplementedError
|
|
|
|
def clear(self):
|
|
raise NotImplementedError
|