haystack/releasenotes/notes/text-language-classifier-0d1e1a97f1bb8ac6.yaml
Julian Risch b507f1a124
feat: Add TextLanguageClassifier 2.0 (#6026)
* draft TextLanguageClassifier

* implement language detection with langdetect

* add unit test for logging message

* reno

* pylint

* change input from List[str] to str

* remove empty output connections

* add from_dict/to_dict tests

* mark example usage as python code
2023-10-13 10:30:49 +02:00

5 lines
176 B
YAML

---
preview:
- |
Add TextLanguageClassifier component so that an input string, for example a query, can be routed to different components based on the detected language.