BR-MSG-09
When the user types a text that has the shape of a placeholder, then this text is neutralized with an invisible character.
Protect a message before it is sent to the modelEn français
Quand l'utilisateur tape lui-même un texte qui a la forme d'un jeton, alors ce texte est neutralisé par un caractère invisible.
Protéger un message avant l'envoi au modèleWhere the rule lives 2
Tested by 41
- tests/components/anonymizer/test_span_anonymizer.py::TestAnonymize::test_escaping_can_be_disabled
- tests/components/anonymizer/test_span_anonymizer.py::TestAnonymize::test_no_entities_leaves_the_text_unchanged
- tests/components/anonymizer/test_span_anonymizer.py::TestAnonymize::test_overlapping_spans_raise
- tests/components/anonymizer/test_span_anonymizer.py::TestAnonymize::test_replaces_a_single_occurrence
- tests/components/anonymizer/test_span_anonymizer.py::TestAnonymize::test_replaces_every_occurrence_of_one_entity
- tests/components/anonymizer/test_span_anonymizer.py::TestAnonymize::test_replaces_several_entities
- tests/components/anonymizer/test_span_anonymizer.py::TestAnonymize::test_result_carries_the_token_of_each_entity
- tests/components/anonymizer/test_span_anonymizer.py::TestAnonymize::test_user_typed_token_cannot_hijack_a_restore
- tests/components/anonymizer/test_span_anonymizer.py::TestConformance::test_satisfies_the_port
- tests/components/anonymizer/test_span_anonymizer.py::TestDeanonymize::test_no_prefix_collision_when_one_token_prefixes_another
- tests/components/anonymizer/test_span_anonymizer.py::TestDeanonymize::test_no_tokens_leaves_text_unchanged
- tests/components/anonymizer/test_span_anonymizer.py::TestDeanonymize::test_restored_value_holding_a_token_is_not_resubstituted
and 29 more
Used by 3
Read from the code graph graphify builds, at the places the domain documentation gives. A test that goes through another function does not show here.