+
Can I change my plan anytime?
Yes, you can upgrade or downgrade your plan at any time. Changes take effect immediately.
-
+
What happens to my data if I downgrade?
Your data is preserved, but features may be limited based on your new plan constraints.
-
+
Do you offer educational discounts?
Yes, we offer special pricing for educational institutions and students. Contact us for details.
-
+
Is there a free trial for paid plans?
All new accounts start with a 14-day free trial of our Pro plan features.
-
-
Need a custom solution?
-
Contact us
+
+
+
Need a custom solution?
+
Contact us
+
- >
+
);
}
diff --git a/cognee-frontend/src/modules/datasets/cognifyDataset.ts b/cognee-frontend/src/modules/datasets/cognifyDataset.ts
index 7842334af..301405c2f 100644
--- a/cognee-frontend/src/modules/datasets/cognifyDataset.ts
+++ b/cognee-frontend/src/modules/datasets/cognifyDataset.ts
@@ -1,13 +1,13 @@
import { fetch } from "@/utils";
-import getDatasetGraph from "./getDatasetGraph";
+// import getDatasetGraph from "./getDatasetGraph";
import { Dataset } from "../ingestion/useDatasets";
-interface GraphData {
- nodes: { id: string; label: string; properties?: object }[];
- edges: { source: string; target: string; label: string }[];
-}
+// interface GraphData {
+// nodes: { id: string; label: string; properties?: object }[];
+// edges: { source: string; target: string; label: string }[];
+// }
-export default async function cognifyDataset(dataset: Dataset, onUpdate: (data: GraphData) => void) {
+export default async function cognifyDataset(dataset: Dataset) {
// const data = await (
return fetch("/v1/cognify", {
method: "POST",
@@ -19,16 +19,16 @@ export default async function cognifyDataset(dataset: Dataset, onUpdate: (data:
runInBackground: false,
}),
})
- .then((response) => response.json())
- .then(() => {
- return getDatasetGraph(dataset)
- .then((data) => {
- onUpdate({
- nodes: data.nodes,
- edges: data.edges,
- });
- });
- });
+ .then((response) => response.json());
+ // .then(() => {
+ // return getDatasetGraph(dataset)
+ // .then((data) => {
+ // onUpdate({
+ // nodes: data.nodes,
+ // edges: data.edges,
+ // });
+ // });
+ // });
// )
// const websocket = new WebSocket(`ws://localhost:8000/api/v1/cognify/subscribe/${data.pipeline_run_id}`);
diff --git a/cognee-frontend/src/ui/Layout/Header.tsx b/cognee-frontend/src/ui/Layout/Header.tsx
index 465153e1a..a615eeb4f 100644
--- a/cognee-frontend/src/ui/Layout/Header.tsx
+++ b/cognee-frontend/src/ui/Layout/Header.tsx
@@ -27,10 +27,10 @@ export default function Header() {
return (
<>
-
+
-
Cognee Graph Interface
+
Cognee Local
diff --git a/cognee/api/v1/notebooks/routers/get_notebooks_router.py b/cognee/api/v1/notebooks/routers/get_notebooks_router.py
index 3891214b1..5979f68ff 100644
--- a/cognee/api/v1/notebooks/routers/get_notebooks_router.py
+++ b/cognee/api/v1/notebooks/routers/get_notebooks_router.py
@@ -36,7 +36,9 @@ def get_notebooks_router():
async def create_notebook_endpoint(
notebook_data: NotebookData, user: User = Depends(get_authenticated_user)
):
- return await create_notebook(user.id, notebook_data.name, notebook_data.cells)
+ return await create_notebook(
+ user.id, notebook_data.name, notebook_data.cells, deletable=True
+ )
@router.put("/{notebook_id}")
async def update_notebook_endpoint(
diff --git a/cognee/modules/notebooks/methods/create_notebook.py b/cognee/modules/notebooks/methods/create_notebook.py
index c94ea6977..b4915da23 100644
--- a/cognee/modules/notebooks/methods/create_notebook.py
+++ b/cognee/modules/notebooks/methods/create_notebook.py
@@ -15,7 +15,9 @@ async def create_notebook(
deletable: Optional[bool],
session: AsyncSession,
) -> Notebook:
- notebook = Notebook(name=notebook_name, owner_id=user_id, cells=cells, deletable=deletable)
+ notebook = Notebook(
+ name=notebook_name, owner_id=user_id, cells=cells, deletable=deletable or True
+ )
session.add(notebook)
diff --git a/cognee/modules/users/methods/get_default_user.py b/cognee/modules/users/methods/get_default_user.py
index 10779e028..48073a884 100644
--- a/cognee/modules/users/methods/get_default_user.py
+++ b/cognee/modules/users/methods/get_default_user.py
@@ -29,7 +29,9 @@ async def get_default_user() -> SimpleNamespace:
# We return a SimpleNamespace to have the same user type as our SaaS
# SimpleNamespace is just a dictionary which can be accessed through attributes
- auth_data = SimpleNamespace(id=user.id, tenant_id=user.tenant_id, roles=[])
+ auth_data = SimpleNamespace(
+ id=user.id, email=user.email, tenant_id=user.tenant_id, roles=[]
+ )
return auth_data
except Exception as error:
if "principals" in str(error.args):