Skip to content

Commit 0660f34

Browse files
authored
chore(examples): update README and bump dep cocoindex version (#423)
* docs: use `-ci` instead of `-c https://cocoindex.io/` to start server * chore(examples): bump dep versions on `cocoindex` to 0.1.30
1 parent 013950f commit 0660f34

File tree

14 files changed

+15
-19
lines changed

14 files changed

+15
-19
lines changed

examples/code_embedding/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ CocoInsight is in Early Access now (Free) 😊 You found us! A quick 3 minute vi
4646
Run CocoInsight to understand your RAG data pipeline:
4747

4848
```
49-
python main.py cocoindex server -c https://cocoindex.io
49+
python main.py cocoindex server -ci
5050
```
5151

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

examples/code_embedding/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ name = "code-embedding"
33
version = "0.1.0"
44
description = "Simple example for cocoindex: build embedding index based on source code."
55
requires-python = ">=3.10"
6-
dependencies = ["cocoindex>=0.1.26", "python-dotenv>=1.0.1"]
6+
dependencies = ["cocoindex>=0.1.30", "python-dotenv>=1.0.1"]

examples/docs_to_knowledge_graph/README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,11 @@ I used CocoInsight (Free beta now) to troubleshoot the index generation and unde
6666
It just connects to your local CocoIndex server, with Zero pipeline data retention. Run following command to start CocoInsight:
6767

6868
```bash
69-
python3 main.py cocoindex server -c https://cocoindex.io
69+
python main.py cocoindex server -ci
7070
```
7171

7272
And then open the url https://cocoindex.io/cocoinsight.
7373

74-
```
75-
python main.py cocoindex server -c https://cocoindex.io
76-
```
77-
7874
<img width="1430" alt="cocoinsight" src="https://github.com/user-attachments/assets/d5ada581-cceb-42bf-a949-132df674f3dd" />
7975

8076

examples/docs_to_knowledge_graph/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ name = "manuals-to-kg"
33
version = "0.1.0"
44
description = "Simple example for cocoindex: extract triples from files and build knowledge graph."
55
requires-python = ">=3.10"
6-
dependencies = ["cocoindex>=0.1.26", "python-dotenv>=1.0.1"]
6+
dependencies = ["cocoindex>=0.1.30", "python-dotenv>=1.0.1"]

examples/gdrive_text_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-
python main.py cocoindex server -c https://cocoindex.io
56+
python main.py cocoindex server -ci
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-
python main.py cocoindex server -c https://cocoindex.io -L
62+
python main.py cocoindex server -ci -L
6363
```
6464

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

examples/gdrive_text_embedding/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ name = "gdrive-text-embedding"
33
version = "0.1.0"
44
description = "Simple example for cocoindex: build embedding index based on Google Drive files."
55
requires-python = ">=3.11"
6-
dependencies = ["cocoindex>=0.1.26", "python-dotenv>=1.0.1"]
6+
dependencies = ["cocoindex>=0.1.30", "python-dotenv>=1.0.1"]

examples/manuals_llm_extraction/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ CocoInsight is a tool to help you understand your data pipeline and data index.
6565
Run CocoInsight to understand your RAG data pipeline:
6666

6767
```
68-
python main.py cocoindex server -c https://cocoindex.io
68+
python main.py cocoindex server -ci
6969
```
7070

7171
Then open the CocoInsight UI at [https://cocoindex.io/cocoinsight](https://cocoindex.io/cocoinsight). It connects to your local CocoIndex server with zero data retention.

examples/manuals_llm_extraction/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
description = "Simple example for cocoindex: extract structured information from a Markdown file using LLM."
55
requires-python = ">=3.10"
66
dependencies = [
7-
"cocoindex>=0.1.26",
7+
"cocoindex>=0.1.30",
88
"python-dotenv>=1.0.1",
99
"marker-pdf>=1.5.2",
1010
]

examples/pdf_embedding/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ CocoInsight is in Early Access now (Free) 😊 You found us! A quick 3 minute vi
3535
Run CocoInsight to understand your RAG data pipeline:
3636

3737
```
38-
python main.py cocoindex server -c https://cocoindex.io
38+
python main.py cocoindex server -ci
3939
```
4040

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

examples/pdf_embedding/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
description = "Simple example for cocoindex: build embedding index based on local PDF files."
55
requires-python = ">=3.10"
66
dependencies = [
7-
"cocoindex>=0.1.26",
7+
"cocoindex>=0.1.30",
88
"python-dotenv>=1.0.1",
99
"marker-pdf>=1.5.2",
1010
]

0 commit comments

Comments
 (0)