add serializers to support serialization and deserialization.

This commit is contained in:
seehi 2024-07-10 10:24:04 +08:00
parent 086ef5e805
commit b5934a412b
19 changed files with 234 additions and 144 deletions

View file

@ -7,6 +7,3 @@ class ExperiencePoolConfig(YamlModel):
enable_read: bool = Field(default=False, description="Enable to read from experience pool.")
enable_write: bool = Field(default=False, description="Enable to write to experience pool.")
persist_path: str = Field(default=".chroma_exp_data", description="The persist path for experience pool.")
init_exp: bool = Field(
default=False, description="Put some basic experiences associated with the roles into the experience pool."
)