7 lines
217 B
Python
7 lines
217 B
Python
|
|
from chainlit.utils import check_module_version
|
||
|
|
|
||
|
|
if not check_module_version("langchain", "0.0.198"):
|
||
|
|
raise ValueError(
|
||
|
|
"Expected LangChain version >= 0.0.198. Run `pip install langchain --upgrade`"
|
||
|
|
)
|