refactor: Add missing install info

This commit is contained in:
Igor Ilic 2025-09-25 13:57:14 +02:00
parent d1724c710b
commit 8265ec0334
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ def create_relational_engine(
)
except ImportError:
raise ImportError(
"PostgreSQL dependencies are not installed. Please install with 'pip install cognee[postgres]' or 'pip install cognee[postgres-binary]' to use PostgreSQL functionality."
"PostgreSQL dependencies are not installed. Please install with 'pip install cognee\"[postgres]\"' or 'pip install cognee\"[postgres-binary]\"' to use PostgreSQL functionality."
)
return SQLAlchemyAdapter(connection_string)

View file

@ -79,7 +79,7 @@ class LLMConfig(BaseSettings):
if self.structured_output_framework.lower() == "baml" and ClientRegistry is None:
raise ImportError(
"BAML is selected as structured output framework but not available. "
"Please install with 'pip install cognee[baml]' to use BAML extraction features."
"Please install with 'pip install cognee\"[baml]\"' to use BAML extraction features."
)
elif self.structured_output_framework.lower() == "baml" and ClientRegistry is not None:
self.baml_registry = ClientRegistry()