From 77f0b45a0d32dfc827f891ec06350727f68f8d08 Mon Sep 17 00:00:00 2001 From: Igor Ilic Date: Mon, 20 Jan 2025 18:02:57 +0100 Subject: [PATCH] refactor: Resolve issue with notebook after metadata refactor Resolve issue with LlamaIndex notebook after refactor --- notebooks/cognee_llama_index.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/notebooks/cognee_llama_index.ipynb b/notebooks/cognee_llama_index.ipynb index c7c28af5f..82db4d4ae 100644 --- a/notebooks/cognee_llama_index.ipynb +++ b/notebooks/cognee_llama_index.ipynb @@ -118,10 +118,10 @@ ] }, { - "cell_type": "code", - "execution_count": null, "metadata": {}, + "cell_type": "code", "outputs": [], + "execution_count": null, "source": [ "from typing import Union, BinaryIO\n", "\n", @@ -133,7 +133,7 @@ ")\n", "from cognee.modules.users.models import User\n", "from cognee.modules.users.methods import get_default_user\n", - "from cognee.tasks.ingestion.ingest_data_with_metadata import ingest_data_with_metadata\n", + "from cognee.tasks.ingestion.ingest_data import ingest_data\n", "import cognee\n", "\n", "# Create a clean slate for cognee -- reset data and system state\n", @@ -153,7 +153,7 @@ " if user is None:\n", " user = await get_default_user()\n", "\n", - " await ingest_data_with_metadata(data, dataset_name, user)\n", + " await ingest_data(data, dataset_name, user)\n", "\n", "\n", "await add(documents)\n",