refactor: Move memify our of api folder
This commit is contained in:
parent
95bafd942c
commit
b0d4503f2b
4 changed files with 4 additions and 5 deletions
|
|
@ -18,6 +18,7 @@ logger = setup_logging()
|
||||||
from .api.v1.add import add
|
from .api.v1.add import add
|
||||||
from .api.v1.delete import delete
|
from .api.v1.delete import delete
|
||||||
from .api.v1.cognify import cognify
|
from .api.v1.cognify import cognify
|
||||||
|
from .modules.memify import memify
|
||||||
from .api.v1.config.config import config
|
from .api.v1.config.config import config
|
||||||
from .api.v1.datasets.datasets import datasets
|
from .api.v1.datasets.datasets import datasets
|
||||||
from .api.v1.prune import prune
|
from .api.v1.prune import prune
|
||||||
|
|
|
||||||
1
cognee/modules/memify/__init__.py
Normal file
1
cognee/modules/memify/__init__.py
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
from .memify import memify
|
||||||
|
|
@ -3,15 +3,12 @@ import pathlib
|
||||||
import os
|
import os
|
||||||
|
|
||||||
import cognee
|
import cognee
|
||||||
|
from cognee import memify
|
||||||
from cognee.api.v1.visualize.visualize import visualize_graph
|
from cognee.api.v1.visualize.visualize import visualize_graph
|
||||||
from cognee.shared.logging_utils import setup_logging, ERROR
|
from cognee.shared.logging_utils import setup_logging, ERROR
|
||||||
from cognee.api.v1.cognify.memify import memify
|
|
||||||
from cognee.modules.pipelines.tasks.task import Task
|
from cognee.modules.pipelines.tasks.task import Task
|
||||||
from cognee.tasks.memify.extract_subgraph_chunks import extract_subgraph_chunks
|
from cognee.tasks.memify.extract_subgraph_chunks import extract_subgraph_chunks
|
||||||
from cognee.tasks.codingagents.coding_rule_associations import (
|
from cognee.tasks.codingagents.coding_rule_associations import add_rule_associations
|
||||||
add_rule_associations,
|
|
||||||
get_existing_rules,
|
|
||||||
)
|
|
||||||
|
|
||||||
# Prerequisites:
|
# Prerequisites:
|
||||||
# 1. Copy `.env.template` and rename it to `.env`.
|
# 1. Copy `.env.template` and rename it to `.env`.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue