class_docstr: Experience buffer base class. It stores experience.
  
  Args:
      sample_batch_size (int): Batch size when sampling.
      limit (int, optional): Limit of number of experience samples. A number <= 0 means unlimited. Defaults to 0.
code: def __init__(self, sample_batch_size: int, limit: int = 0) -> None:
      super().__init__()
      self.sample_batch_size = sample_batch_size
      # limit <= 0 means unlimited
      self.limit = limit
  
file_path: ColossalAI/applications/Chat/coati/experience_buffer/base.py
imports: from abc import ABC, abstractmethod
  from typing import Any
  from coati.experience_maker.base import Experience
label_desc: Use image node_id 1 to create a new ExperienceBuffer object from inherited base classes: ABC with example: obj = ExperienceBuffer(sample_batch_size, limit)