Новый раг
This commit is contained in:
9
tests/rag/test_query_terms.py
Normal file
9
tests/rag/test_query_terms.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from app.modules.rag.retrieval.query_terms import extract_query_terms
|
||||
|
||||
|
||||
def test_extract_query_terms_from_code_question() -> None:
|
||||
terms = extract_query_terms("Объясни по коду как можно управлять COnfigmanager?")
|
||||
|
||||
assert "configmanager" in terms
|
||||
assert "config_manager" in terms
|
||||
assert "control" in terms
|
||||
Reference in New Issue
Block a user