fix: corrected hint to install Langchain libs

This commit is contained in:
TomTom101
2024-05-30 10:53:42 +02:00
parent 2bf094b950
commit b19243ab75

View File

@@ -36,7 +36,7 @@ try:
except ModuleNotFoundError as e:
logger.exception(
"You need to `pip install langchain_openai langchain_community` for this example. Also, be sure to set `OPENAI_API_KEY` in the environment variable."
"You need to `pip install langchain langchain-openai langchain-community` for this example. Also, be sure to set `OPENAI_API_KEY` in the environment variable."
)
raise Exception(f"Missing module: {e}")