>>> from knowt.llm import RAG, DATA_DIR
>>> from knowt.search import VectorDB

>>> from knowt.constants import DATA_DIR
>>> rag = RAG(min_relevance=.5)  # (`db=DATA_DIR / 'corpus_hpr/'`)
>>> q = 'Explain phone phreaking to me'
>>> kwds = 'phreak teleph experi'.split()
>>> ans = rag.ask(q)
>>> for t in kwds:
>>>     assert t in ans.lower(), f"{t} not found in {ans.lower()}"

ans[:69] = 'Phreaking is the practice of studying, experimenting with, or explori'

>>> rag = RAG(db=DATA_DIR / 'corpus_nutrition')
>>> q = 'What is the healthiest fruit?'
>>> kwds = 'glycemic diabetes fat coconut raw'.split() + ['organic berries']
>>> ans = rag.ask(q)
>>> for t in kwds:
>>>     assert t in ans.lower(), f"{t} not found in {ans.lower()}"

ans[:69] = 'The healthiest fruits recommended for people with diabetes and glycem'

>>> q = 'How much exercise is healthiest?'
>>> kwds = 'exercis healthy'.split() + ['not specified']
>>> ans = rag.ask(q)
>>> for t in kwds:
>>>     assert t in ans.lower(), f"{t} not found in {ans.lower()}"

ans[:69] = 'The amount of exercise that is healthy for an individual is not speci'
"""
