Files
fil/docs/snippets/rust/advanced/language_detection.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

16 lines
405 B
Markdown

```rust title="Rust"
use kreuzberg::{ExtractionConfig, LanguageDetectionConfig};
fn main() {
let config = ExtractionConfig {
language_detection: Some(LanguageDetectionConfig {
enabled: Some(true),
min_confidence: Some(0.9),
detect_multiple: Some(true),
}),
..Default::default()
};
println!("{:?}", config.language_detection);
}
```