Skip to content

Commit 4857b43

Browse files
authored
rename entry file to main.py for simiplicity (#140)
1 parent 5362420 commit 4857b43

File tree

8 files changed

+16
-17
lines changed

8 files changed

+16
-17
lines changed

examples/code_embedding/README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,26 @@ Simple example for cocoindex: build embedding index based on local files.
66
## Run
77

88
Install dependencies:
9-
109
```bash
1110
pip install -e .
1211
```
1312

1413
Setup:
1514

1615
```bash
17-
python code_embedding.py cocoindex setup
16+
python main.py cocoindex setup
1817
```
1918

2019
Update index:
2120

2221
```bash
23-
python code_embedding.py cocoindex update
22+
python main.py cocoindex update
2423
```
2524

2625
Run:
2726

2827
```bash
29-
python code_embedding.py
28+
python main.py
3029
```
3130

3231
## CocoInsight
@@ -35,7 +34,7 @@ CocoInsight is in Early Access now (Free) 😊 You found us! A quick 3 minute vi
3534
Run CocoInsight to understand your RAG data pipeline:
3635

3736
```
38-
python code_embedding.py cocoindex server -c https://cocoindex.io
37+
python main.py cocoindex server -c https://cocoindex.io
3938
```
4039

41-
Then open the CocoInsight UI at [https://cocoindex.io/cocoinsight](https://cocoindex.io/cocoinsight).
40+
Then open the CocoInsight UI at [https://cocoindex.io/cocoinsight](https://cocoindex.io/cocoinsight).
File renamed without changes.

examples/manuals_llm_extraction/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ pip install -e .
2525
Setup:
2626

2727
```bash
28-
python manuals_llm_extraction.py cocoindex setup
28+
python main.py cocoindex setup
2929
```
3030

3131
Update index:
3232

3333
```bash
34-
python manuals_llm_extraction.py cocoindex update
34+
python main.py cocoindex update
3535
```
3636

3737
### Query the index
@@ -54,7 +54,7 @@ CocoInsight is in Early Access now (Free) 😊 You found us! A quick 3 minute vi
5454
Run CocoInsight to understand your RAG data pipeline:
5555

5656
```
57-
python manuals_llm_extraction.py cocoindex server -c https://cocoindex.io
57+
python main.py cocoindex server -c https://cocoindex.io
5858
```
5959

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

examples/pdf_embedding/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ pip install -e .
1414
Setup:
1515

1616
```bash
17-
python pdf_embedding.py cocoindex setup
17+
python main.py cocoindex setup
1818
```
1919

2020
Update index:
2121

2222
```bash
23-
python pdf_embedding.py cocoindex update
23+
python main.py cocoindex update
2424
```
2525

2626
Run:
2727

2828
```bash
29-
python pdf_embedding.py
29+
python main.py
3030
```
3131

3232
## CocoInsight
@@ -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 pdf_embedding.py cocoindex server -c https://cocoindex.io
38+
python main.py cocoindex server -c https://cocoindex.io
3939
```
4040

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

examples/text_embedding/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ pip install -e .
1414
Setup:
1515

1616
```bash
17-
python text_embedding.py cocoindex setup
17+
python main.py cocoindex setup
1818
```
1919

2020
Update index:
2121

2222
```bash
23-
python text_embedding.py cocoindex update
23+
python main.py cocoindex update
2424
```
2525

2626
Run:
2727

2828
```bash
29-
python text_embedding.py
29+
python main.py
3030
```
3131

3232
## CocoInsight
@@ -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 text_embedding.py cocoindex server -c https://cocoindex.io
38+
python main.py cocoindex server -c https://cocoindex.io
3939
```
4040

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

0 commit comments

Comments
 (0)