intentgraph-lm / tests /test_intent_extraction.py
hmnshudhmn24's picture
Upload 23 files
602b5b1 verified
from src.intent_extractor import IntentExtractor
def test_extract():
extractor = IntentExtractor()
intents = extractor.extract(['book','flight'])
assert 'book' in intents