hezarfen_rule_based_chatbot
Clone
https://git.tahinli.com/archive/hezarfen_rule_based_chatbot.git
0 watching0 forksPython1.2 MiBa039b60Ahmet Kaan Gümüş2 months ago64 commits
| 1 | """Aşama 17 birim testleri: backend protokolü + opsiyonel embedding backend'i.""" |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | = is not None |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | = |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | # sentence-transformers kurulu olsa BİLE hata yolunu deterministik test |
| 22 | # et: sys.modules'a None koyunca `from sentence_transformers import ...` |
| 23 | # ImportError verir. Böylece test hiçbir ortamda skip olmaz. |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | # pragma: no cover |
| 32 | |
| 33 | |
| 34 | = |
| 35 | |
| 36 | = |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 |