11 lines
250 B
Markdown
11 lines
250 B
Markdown
|
|
```python title="Python"
|
||
|
|
from kreuzberg import ExtractionConfig, TokenReductionConfig
|
||
|
|
|
||
|
|
config: ExtractionConfig = ExtractionConfig(
|
||
|
|
token_reduction=TokenReductionConfig(
|
||
|
|
mode="moderate",
|
||
|
|
preserve_important_words=True,
|
||
|
|
)
|
||
|
|
)
|
||
|
|
```
|