@@ -22,6 +22,8 @@ class DatastoreCreateParams(TypedDict, total=False):
2222
2323
2424class ConfigurationChunking (TypedDict , total = False ):
25+ """Configuration for document chunking"""
26+
2527 chunking_mode : Literal ["hierarchy_depth" , "hierarchy_heading" , "static_length" , "page_level" ]
2628 """Chunking mode to use.
2729
@@ -53,6 +55,8 @@ class ConfigurationChunking(TypedDict, total=False):
5355
5456
5557class ConfigurationHTMLConfig (TypedDict , total = False ):
58+ """Configuration for HTML Extraction"""
59+
5660 max_chunk_length_tokens : int
5761 """Target maximum length of text tokens chunks for chunking.
5862
@@ -61,6 +65,8 @@ class ConfigurationHTMLConfig(TypedDict, total=False):
6165
6266
6367class ConfigurationParsing (TypedDict , total = False ):
68+ """Configuration for document parsing"""
69+
6470 enable_split_tables : bool
6571 """
6672 Whether to enable table splitting, which splits large tables into smaller tables
@@ -91,6 +97,8 @@ class ConfigurationParsing(TypedDict, total=False):
9197
9298
9399class Configuration (TypedDict , total = False ):
100+ """Configuration of the datastore. If not provided, default configuration is used."""
101+
94102 chunking : ConfigurationChunking
95103 """Configuration for document chunking"""
96104
0 commit comments