Skip to content

Commit ee5519f

Browse files
authored
documentation - sources link & kuzu (#1179)
* fix links in examples * update documentations on kuzu * sources link * more links * Update main.py
1 parent fa268d9 commit ee5519f

File tree

22 files changed

+29
-67
lines changed

22 files changed

+29
-67
lines changed

docs/docs/examples/examples/academic_papers_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def paper_metadata_flow(
6464
```
6565

6666
`flow_builder.add_source` will create a table with sub fields (`filename``content`).
67-
<DocumentationButton url="https://cocoindex.io/docs/ops/sources" text="Sources" margin="0 0 16px 0" />
67+
<DocumentationButton url="https://cocoindex.io/docs/sources" text="Sources" margin="0 0 16px 0" />
6868

6969
## Extract and collect metadata
7070

docs/docs/examples/examples/codebase_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def code_embedding_flow(flow_builder: cocoindex.FlowBuilder, data_scope: cocoind
7070
- Exclude files and directories starting `.`, `target` in the root and `node_modules` under any directory.
7171

7272
`flow_builder.add_source` will create a table with sub fields (`filename`, `content`).
73-
<DocumentationButton url="https://cocoindex.io/docs/ops/sources" text="Sources" />
73+
<DocumentationButton url="https://cocoindex.io/docs/sources" text="Sources" />
7474

7575

7676
## Process each file and collect the information

docs/docs/examples/examples/custom_targets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ flow_builder: cocoindex.FlowBuilder, data_scope: cocoindex.DataScope
3636
)
3737
```
3838
This ingestion creates a table with `filename` and `content` fields.
39-
<DocumentationButton url="https://cocoindex.io/docs/ops/sources" text="Sources" />
39+
<DocumentationButton url="https://cocoindex.io/docs/sources" text="Sources" />
4040

4141
## Process each file and collect
4242

docs/docs/examples/examples/docs_to_knowledge_graph.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def docs_to_kg_flow(flow_builder: cocoindex.FlowBuilder, data_scope: cocoindex.D
6666
Here `flow_builder.add_source` creates a [KTable](https://cocoindex.io/docs/core/data_types#KTable).
6767
`filename` is the key of the KTable.
6868

69-
<DocumentationButton url="https://cocoindex.io/docs/ops/sources" text="Sources" margin="0 0 16px 0" />
69+
<DocumentationButton url="https://cocoindex.io/docs/sources" text="Sources" margin="0 0 16px 0" />
7070

7171

7272
### Add data collectors

docs/docs/examples/examples/document_ai.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ data_scope["documents"] = flow_builder.add_source(
9898
doc_embeddings = data_scope.add_collector()
9999
```
100100

101-
<DocumentationButton url="https://cocoindex.io/docs/ops/sources" text="Source" margin="0 0 16px 0" />
101+
<DocumentationButton url="https://cocoindex.io/docs/sources" text="Source" margin="0 0 16px 0" />
102102

103103
<DocumentationButton url="https://cocoindex.io/docs/ops/collectors" text="Collector" margin="0 0 16px 0" />
104104

@@ -154,4 +154,4 @@ For a step-by-step walkthrough of each indexing stage and the query path, check
154154

155155
CocoIndex natively supports Google Drive, Amazon S3, Azure Blob Storage, and more with native incremental processing out of box - when new or updated files are detected, the pipeline will capture the changes and only process what's changed.
156156

157-
<DocumentationButton url="https://cocoindex.io/docs/ops/sources" text="Sources" margin="0 0 16px 0" />
157+
<DocumentationButton url="https://cocoindex.io/docs/sources" text="Sources" margin="0 0 16px 0" />

docs/docs/examples/examples/image_search.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def image_object_embedding_flow(flow_builder, data_scope):
6666

6767
The `add_source` function sets up a table with fields like `filename` and `content`. Images are automatically re-scanned every minute.
6868

69-
<DocumentationButton url="https://cocoindex.io/docs/ops/sources/localfile" text="LocalFile" />
69+
<DocumentationButton url="https://cocoindex.io/docs/sources/localfile" text="LocalFile" />
7070

7171

7272
## Process Each Image and Collect the Embedding
@@ -266,6 +266,6 @@ One of CocoIndex’s core strengths is its ability to connect to your existing d
266266
- Amazon S3 / SQS
267267
- Azure Blob Storage
268268

269-
<DocumentationButton url="https://cocoindex.io/docs/ops/sources" text="Sources" margin="0 0 16px 0" />
269+
<DocumentationButton url="https://cocoindex.io/docs/sources" text="Sources" margin="0 0 16px 0" />
270270

271271
Once connected, CocoIndex continuously watches for changes — new uploads, updates, or deletions — and applies them to your index in real time.

docs/docs/examples/examples/manual_extraction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def manual_extraction_flow(
6767
- `filename` (key, type: `str`): the filename of the file, e.g. `dir1/file1.md`
6868
- `content` (type: `str` if `binary` is `False`, otherwise `bytes`): the content of the file
6969
70-
<DocumentationButton url="https://cocoindex.io/docs/ops/sources" text="LocalFile" margin="0 0 16px 0" />
70+
<DocumentationButton url="https://cocoindex.io/docs/sources" text="LocalFile" margin="0 0 16px 0" />
7171
7272
## Parse Markdown
7373

docs/docs/examples/examples/multi_format_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ data_scope["documents"] = flow_builder.add_source(
5252
cocoindex.sources.LocalFile(path="source_files", binary=True)
5353
)
5454
```
55-
<DocumentationButton url="https://cocoindex.io/docs/ops/sources/localfile" text="LocalFile" margin="0 0 16px 0" />
55+
<DocumentationButton url="https://cocoindex.io/docs/sources/localfile" text="LocalFile" margin="0 0 16px 0" />
5656

5757

5858
## Convert Files to Pages
@@ -203,4 +203,4 @@ Follow the url `https://cocoindex.io/cocoinsight`. It connects to your local Co
203203
## Connect to other sources
204204
CocoIndex natively supports Google Drive, Amazon S3, Azure Blob Storage, and more.
205205

206-
<DocumentationButton url="https://cocoindex.io/docs/ops/sources" text="Sources" margin="0 0 16px 0" />
206+
<DocumentationButton url="https://cocoindex.io/docs/sources" text="Sources" margin="0 0 16px 0" />

docs/docs/examples/examples/patient_form_extraction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def patient_intake_extraction_flow(
6666

6767
`flow_builder.add_source` will create a table with a few sub fields.
6868

69-
<DocumentationButton url="https://cocoindex.io/docs/ops/sources" text="Sources" margin="0 0 16px 0" />
69+
<DocumentationButton url="https://cocoindex.io/docs/sources" text="Sources" margin="0 0 16px 0" />
7070

7171

7272
## Parse documents with different formats to Markdown
@@ -298,4 +298,4 @@ Click on the `markdown` column for `Patient_Intake_Form_Joe.pdf`, you could see
298298
## Connect to other sources
299299
CocoIndex natively supports Google Drive, Amazon S3, Azure Blob Storage, and more.
300300
301-
<DocumentationButton url="https://cocoindex.io/docs/ops/sources" text="Sources" margin="0 0 16px 0" />
301+
<DocumentationButton url="https://cocoindex.io/docs/sources" text="Sources" margin="0 0 16px 0" />

docs/docs/examples/examples/photo_search.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ def face_recognition_flow(flow_builder, data_scope):
6565
This creates a table with `filename` and `content` fields. 📂
6666

6767

68-
You can connect it to your [S3 Buckets](https://cocoindex.io/docs/ops/sources/amazons3) (with SQS integration, [example](https://cocoindex.io/blogs/s3-incremental-etl))
69-
or [Azure Blob store](https://cocoindex.io/docs/ops/sources/azureblob).
68+
You can connect it to your [S3 Buckets](https://cocoindex.io/docs/sources/amazons3) (with SQS integration, [example](https://cocoindex.io/blogs/s3-incremental-etl))
69+
or [Azure Blob store](https://cocoindex.io/docs/sources/azureblob).
7070

7171
## Detect and Extract Faces
7272

0 commit comments

Comments
 (0)