Skip to content

Commit f584dbe

Browse files
authored
update examples for cli to cocoindex server -ci main (#963)
1 parent add11b1 commit f584dbe

File tree

44 files changed

+49
-49
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+49
-49
lines changed

docs/docs/examples/examples/academic_papers_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ You can walk through the project step by step in [CocoInsight](https://www.youtu
342342

343343

344344
```sh
345-
cocoindex server -ci main.py
345+
cocoindex server -ci main
346346
```
347347

348348
Follow the url `https://cocoindex.io/cocoinsight`. It connects to your local CocoIndex server, with zero pipeline data retention.

docs/docs/examples/examples/docs_to_knowledge_graph.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ It creates relationships by:
345345
I used CocoInsight to troubleshoot the index generation and understand the data lineage of the pipeline. It is in free beta now, you can give it a try.
346346
347347
```sh
348-
cocoindex server -ci main.py
348+
cocoindex server -ci main
349349
```
350350
351351
And then open the url `https://cocoindex.io/cocoinsight`. It just connects to your local CocoIndex server, with zero pipeline data retention.

docs/docs/examples/examples/manual_extraction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ SELECT filename, module_info->'title' AS title, module_summary FROM modules_info
245245
[CocoInsight](https://www.youtube.com/watch?v=ZnmyoHslBSc) is a really cool tool to help you understand your data pipeline and data index. It is in Early Access now (Free).
246246
247247
```sh
248-
cocoindex server -ci main.py
248+
cocoindex server -ci main
249249
```
250250
CocoInsight dashboard is here `https://cocoindex.io/cocoinsight`. It connects to your local CocoIndex server with zero data retention.
251251

docs/docs/examples/examples/multi_format_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ You can walk through the project step by step in [CocoInsight](https://www.youtu
193193

194194

195195
```sh
196-
cocoindex server -ci main.py
196+
cocoindex server -ci main
197197
```
198198

199199
Follow the url `https://cocoindex.io/cocoinsight`. It connects to your local CocoIndex server, with zero pipeline data retention. You can use it to view extracted pages, see embedding vectors and metadata.

docs/docs/examples/examples/patient_form_extraction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ We could troubleshoot in two steps:
283283
I also use CocoInsight to help me troubleshoot.
284284
285285
```bash
286-
cocoindex server -ci main.py
286+
cocoindex server -ci main
287287
```
288288
289289
Go to `https://cocoindex.io/cocoinsight`. You could see an interactive UI to explore the data.

docs/docs/examples/examples/photo_search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ CocoInsight is a tool to help you understand your data pipeline and data index.
206206
You can walk through the project step by step in [CocoInsight](https://www.youtube.com/watch?v=MMrpUfUcZPk) to see exactly how each field is constructed and what happens behind the scenes.
207207
208208
```sh
209-
cocoindex server -ci main.py
209+
cocoindex server -ci main
210210
```
211211
212212
Follow the url `https://cocoindex.io/cocoinsight`. It connects to your local CocoIndex server, with zero pipeline data retention.

docs/docs/examples/examples/postgres_source.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ For example, the following image shows the lineage of the `embedding` field, you
201201
4. Run CocoInsight:
202202
203203
```bash
204-
cocoindex server -ci main.py
204+
cocoindex server -ci main
205205
```
206206
You can walk through the project step by step in CocoInsight to see exactly how each field is constructed and what happens behind the scenes. It connects to your local CocoIndex server, with zero pipeline data retention.
207207
@@ -211,7 +211,7 @@ For example, the following image shows the lineage of the `embedding` field, you
211211
For continuous updating when the source changes, add `-L`:
212212
213213
```bash
214-
cocoindex server -ci -L main.py
214+
cocoindex server -ci -L main
215215
```
216216
Check [live updates](https://cocoindex.io/docs/tutorials/live_updates) for more details.
217217

docs/docs/examples/examples/product_recommendation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ MATCH p=()-->() RETURN p
393393
I used CocoInsight to troubleshoot the index generation and understand the data lineage of the pipeline. It is in free beta now, you can give it a try. Run following command to start CocoInsight:
394394

395395
```
396-
cocoindex server -ci main.py
396+
cocoindex server -ci main
397397
```
398398

399399
And then open the url `https://cocoindex.io/cocoinsight`. It just connects to your local CocoIndex server, with Zero pipeline data retention.

docs/docs/examples/examples/simple_vector_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ You can walk through the project step by step in [CocoInsight](https://www.youtu
208208

209209

210210
```sh
211-
cocoindex server -ci main.py
211+
cocoindex server -ci main
212212
```
213213

214214
Follow the url `https://cocoindex.io/cocoinsight`. It connects to your local CocoIndex server, with zero pipeline data retention.

examples/amazon_s3_embedding/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ CocoInsight is in Early Access now (Free) 😊 You found us! A quick 3 minute vi
5353
Run CocoInsight to understand your RAG data pipeline:
5454

5555
```sh
56-
cocoindex server -ci main.py
56+
cocoindex server -ci main
5757
```
5858

5959
You can also add a `-L` flag to make the server keep updating the index to reflect source changes at the same time:
6060

6161
```sh
62-
cocoindex server -ci -L main.py
62+
cocoindex server -ci -L main
6363
```
6464

6565
Then open the CocoInsight UI at [https://cocoindex.io/cocoinsight](https://cocoindex.io/cocoinsight).

0 commit comments

Comments
 (0)