File tree Expand file tree Collapse file tree
src/datacustomcode/function/feature_types Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333class DocumentType (str , Enum ):
3434 """Document type enumeration"""
3535
36- TEXT = "Text "
37- TITLE = "Title "
38- TABLE = "Table "
39- IMAGE = "Image "
40- LIST_ITEM = "ListItem "
41- CODE_SNIPPET = "CodeSnippet "
42- PAGE_METADATA = "PageMetadata "
36+ TEXT = "text "
37+ TITLE = "title "
38+ TABLE = "table "
39+ IMAGE = "image "
40+ LIST_ITEM = "list_item "
41+ CODE_SNIPPET = "code_snippet "
42+ PAGE_METADATA = "page_metadata "
4343
4444
4545class ChunkType (str , Enum ):
@@ -90,7 +90,7 @@ class SearchIndexChunkingV1Metadata(BaseModel):
9090 """Metadata for input documents"""
9191
9292 type : DocumentType = Field (
93- default = DocumentType .TEXT , description = "Document type (Text )" , examples = ["Text " ]
93+ default = DocumentType .TEXT , description = "Document type (text )" , examples = ["text " ]
9494 )
9595 transcript_fields : SearchIndexChunkingV1TranscriptField = Field (
9696 default_factory = SearchIndexChunkingV1TranscriptField ,
You can’t perform that action at this time.
0 commit comments