Files
fil/docs/snippets/python/advanced/keyword_extraction_config.md
Henrik Jess Nielsen b4c07d3693
All checks were successful
Deploy fil (kreuzberg) / deploy (push) Successful in 49s
Nomad changes
2026-06-01 23:40:55 +02:00

323 B

from kreuzberg import ExtractionConfig, KeywordConfig, KeywordAlgorithm

config: ExtractionConfig = ExtractionConfig(
    keywords=KeywordConfig(
        algorithm=KeywordAlgorithm.YAKE,
        max_keywords=10,
        min_score=0.3,
        ngram_range=[1, 3],
        language="en",
    )
)