Skip to content
Merged
Prev Previous commit
Next Next commit
Documented a few fields in ChunkMetadata
  • Loading branch information
jamesbraza committed Aug 5, 2025
commit 92c7e9b048dba81d265a1f44f706cc2f542430fb
4 changes: 2 additions & 2 deletions src/paperqa/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,8 @@ def __init__(self, *args, **kwargs):
class ChunkMetadata(BaseModel):
"""Metadata for chunking algorithm."""

chunk_chars: int
overlap: int
chunk_chars: int = Field(description="Chunk size (chars), or 0 for no chunking.")
overlap: int = Field(description="Chunk overlap (chars), or 0 for no overlap.")
chunk_type: str


Expand Down