This commit is contained in:
10
docs/snippets/python/config/token_reduction_config.md
Normal file
10
docs/snippets/python/config/token_reduction_config.md
Normal file
@@ -0,0 +1,10 @@
|
||||
```python title="Python"
|
||||
from kreuzberg import ExtractionConfig, TokenReductionConfig
|
||||
|
||||
config: ExtractionConfig = ExtractionConfig(
|
||||
token_reduction=TokenReductionConfig(
|
||||
mode="moderate",
|
||||
preserve_important_words=True,
|
||||
)
|
||||
)
|
||||
```
|
||||
Reference in New Issue
Block a user