<!-- .github/pull_request_template.md --> ## Description PR from user jspv, running it through our branch to test CI/CD ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin. --------- Signed-off-by: Diego B Theuerkauf <diego.theuerkauf@tuebingen.mpg.de> Co-authored-by: Boris <boris@topoteretes.com> Co-authored-by: vasilije <vas.markovic@gmail.com> Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Co-authored-by: Hande <159312713+hande-k@users.noreply.github.com> Co-authored-by: Matea Pesic <80577904+matea16@users.noreply.github.com> Co-authored-by: hajdul88 <52442977+hajdul88@users.noreply.github.com> Co-authored-by: Daniel Molnar <soobrosa@gmail.com> Co-authored-by: Diego Baptista Theuerkauf <34717973+diegoabt@users.noreply.github.com> Co-authored-by: Dmitrii Galkin <36552323+dm1tryG@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: lxobr <122801072+lxobr@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com> Co-authored-by: jspv <jspvgithub@twinleaf.xyz>
31 lines
1,001 B
Python
31 lines
1,001 B
Python
# ruff: noqa: E402
|
|
from cognee.version import get_cognee_version
|
|
|
|
# NOTE: __version__ extraction must be at the top of the __init__.py otherwise
|
|
# there will be circular import issues
|
|
__version__ = get_cognee_version()
|
|
|
|
# Load environment variable settings has to be before setting up logging for LOG_LEVEL value
|
|
import dotenv
|
|
|
|
dotenv.load_dotenv(override=True)
|
|
|
|
# NOTE: Log level can be set with the LOG_LEVEL env variable
|
|
from cognee.shared.logging_utils import setup_logging
|
|
|
|
logger = setup_logging()
|
|
|
|
from .api.v1.add import add
|
|
from .api.v1.delete import delete
|
|
from .api.v1.cognify import cognify
|
|
from .api.v1.config.config import config
|
|
from .api.v1.datasets.datasets import datasets
|
|
from .api.v1.prune import prune
|
|
from .api.v1.search import SearchType, search
|
|
from .api.v1.visualize import visualize_graph, start_visualization_server
|
|
from cognee.modules.visualization.cognee_network_visualization import (
|
|
cognee_network_visualization,
|
|
)
|
|
|
|
# Pipelines
|
|
from .modules import pipelines
|