diff --git a/semantic_chunkers/chunkers/base.py b/semantic_chunkers/chunkers/base.py index d5483d0..a9c8219 100644 --- a/semantic_chunkers/chunkers/base.py +++ b/semantic_chunkers/chunkers/base.py @@ -20,7 +20,7 @@ class Config: @validator("encoder", pre=True, always=True) def set_encoder(cls, v): if v is None: - return DenseEncoder() + return DenseEncoder(name="default") return v def __call__(self, docs: List[str]) -> List[List[Chunk]]: