Skip to content

Commit

Permalink
fix: typing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescalam committed Dec 6, 2024
1 parent 21d0c83 commit 4c3489b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion semantic_chunkers/chunkers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]]:
Expand Down

0 comments on commit 4c3489b

Please sign in to comment.