We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb10237 commit 2c8f040Copy full SHA for 2c8f040
1 file changed
src/datacustomcode/function/feature_types/chunking.py
@@ -20,6 +20,7 @@
20
from typing import (
21
Dict,
22
List,
23
+ Optional,
24
Union,
25
)
26
@@ -103,8 +104,8 @@ class SearchIndexChunkingV1Metadata(BaseModel):
103
104
description="Page number in the source document (0-based)",
105
examples=[1],
106
- text_as_html: str = Field(
107
- default="",
+ text_as_html: Optional[str] = Field(
108
+ default=None,
109
description="HTML representation of the document text",
110
examples=["<p>Online Remittance Instructions</p>"],
111
0 commit comments