Skip to content

Commit b546900

Browse files
committed
update documentations on kuzu
1 parent e6e897a commit b546900

File tree

5 files changed

+5
-41
lines changed

5 files changed

+5
-41
lines changed

docs/docs/targets/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ The way to map data from a data collector to a target depends on data model of t
1818
| [Qdrant](/docs/targets/qdrant) | Vector Database, Keyword Search |
1919
| [LanceDB](/docs/targets/lancedb) | Vector Database, Keyword Search |
2020
| [Neo4j](/docs/targets/neo4j) | [Property graph](#property-graph-targets) |
21-
| [Kuzu](/docs/targets/kuzu) | [Property graph](#property-graph-targets) |
2221

2322
If you are looking for targets beyond here, you can always use [custom targets](/docs/custom_ops/custom_targets) as building blocks.
2423

docs/docs/targets/kuzu.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ toc_max_heading_level: 4
55
---
66
import { ExampleButton } from '../../src/components/GitHubButton';
77

8-
# Kuzu
8+
# Kuzu (Archived)
9+
10+
Note:[Kuzu](https://github.com/kuzudb/kuzu) - embedded graph database is no longer maintained.
911

1012
Exports data to a [Kuzu](https://kuzu.com/) graph database.
1113

examples/docs_to_knowledge_graph/main.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,12 @@
1414
password="cocoindex",
1515
),
1616
)
17-
kuzu_conn_spec = cocoindex.add_auth_entry(
18-
"KuzuConnection",
19-
cocoindex.targets.KuzuConnection(
20-
api_server_url="http://localhost:8123",
21-
),
22-
)
23-
24-
# SELECT ONE GRAPH DATABASE TO USE
25-
# This example can use either Neo4j or Kuzu as the graph database.
26-
# Please make sure only one branch is live and others are commented out.
2717

28-
# Use Neo4j
2918
GraphDbSpec = cocoindex.targets.Neo4j
3019
GraphDbConnection = cocoindex.targets.Neo4jConnection
3120
GraphDbDeclaration = cocoindex.targets.Neo4jDeclaration
3221
conn_spec = neo4j_conn_spec
3322

34-
# Use Kuzu
35-
# GraphDbSpec = cocoindex.targets.Kuzu
36-
# GraphDbConnection = cocoindex.targets.KuzuConnection
37-
# GraphDbDeclaration = cocoindex.targets.KuzuDeclaration
38-
# conn_spec = kuzu_conn_spec
39-
40-
4123
@dataclasses.dataclass
4224
class DocumentSummary:
4325
"""Describe a summary of a document."""

examples/product_recommendation/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ Please drop [CocoIndex on Github](https://github.com/cocoindex-io/cocoindex) a s
88

99

1010
## Prerequisite
11-
* [Install Postgres](https://cocoindex.io/docs/getting_started/installation#-install-postgres) if you don't have one.
12-
* Install [Neo4j](https://cocoindex.io/docs/ops/targets#neo4j-dev-instance) or [Kuzu](https://cocoindex.io/docs/ops/targets#kuzu-dev-instance) if you don't have one.
13-
* The example uses Neo4j by default for now. If you want to use Kuzu, find out the "SELECT ONE GRAPH DATABASE TO USE" section and switch the active branch.
11+
* [Install Postgres](https://cocoindex.io/docs/getting_started/installation#-install-postgres)
12+
* Install [Neo4j](https://cocoindex.io/docs/ops/targets#neo4j-dev-instance)
1413
* [Configure your OpenAI API key](https://cocoindex.io/docs/ai/llm#openai).
1514

1615
## Documentation
@@ -43,7 +42,6 @@ cocoindex update main
4342
After the knowledge graph is built, you can explore the knowledge graph.
4443

4544
* If you're using Neo4j, you can open the explorer at [http://localhost:7474](http://localhost:7474), with username `neo4j` and password `cocoindex`.
46-
* If you're using Kuzu, you can start a Kuzu explorer locally. See [Kuzu dev instance](https://cocoindex.io/docs/ops/targets#kuzu-dev-instance) for more details.
4745

4846
You can run the following Cypher query to get all relationships:
4947

examples/product_recommendation/main.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,12 @@
1515
password="cocoindex",
1616
),
1717
)
18-
kuzu_conn_spec = cocoindex.add_auth_entry(
19-
"KuzuConnection",
20-
cocoindex.targets.KuzuConnection(
21-
api_server_url="http://localhost:8123",
22-
),
23-
)
2418

25-
# SELECT ONE GRAPH DATABASE TO USE
26-
# This example can use either Neo4j or Kuzu as the graph database.
27-
# Please make sure only one branch is live and others are commented out.
28-
29-
# Use Neo4j
3019
GraphDbSpec = cocoindex.targets.Neo4j
3120
GraphDbConnection = cocoindex.targets.Neo4jConnection
3221
GraphDbDeclaration = cocoindex.targets.Neo4jDeclaration
3322
conn_spec = neo4j_conn_spec
3423

35-
# Use Kuzu
36-
# GraphDbSpec = cocoindex.targets.Kuzu
37-
# GraphDbConnection = cocoindex.targets.KuzuConnection
38-
# GraphDbDeclaration = cocoindex.targets.KuzuDeclaration
39-
# conn_spec = kuzu_conn_spec
40-
4124

4225
# Template for rendering product information as markdown to provide information to LLMs
4326
PRODUCT_TEMPLATE = """

0 commit comments

Comments
 (0)