Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docs/core/flow_methods.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ cocoindex update main.py
With a `--setup` option, it will also setup the flow first if needed.

```sh
cocoindex update --setup main.py
cocoindex update --setup main
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some are not updated yet, e.g. the one on line 150.

But I can merge this PR first. Feel free to create another PR for remaining ones if you want.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will do it! Tks

```

With a `--reexport` option, it will reexport the targets even if there's no change.
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/examples/examples/codebase_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ if __name__ == "__main__":

- Setup and update the index
```sh
cocoindex update --setup main.py
cocoindex update --setup main
```
You'll see the index updates state in the terminal

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/examples/examples/custom_targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ output_html.export(

```bash
pip install -e .
cocoindex update --setup main.py
cocoindex update --setup main
```

You can add, modify, or remove files in the `data/` directory — CocoIndex will only reprocess the changed files and update the target accordingly.
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/examples/examples/docs_to_knowledge_graph.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ It creates relationships by:

2. Run following commands to setup and update the index.
```sh
cocoindex update --setup main.py
cocoindex update --setup main
```

You'll see the index updates state in the terminal. For example,
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/examples/examples/patient_form_extraction.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ patients_index.export(

### Setup and update the index
```sh
cocoindex update --setup main.py
cocoindex update --setup main
```
You'll see the index updates state in the terminal

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/examples/examples/postgres_source.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ For example, the following image shows the lineage of the `embedding` field, you
3. Setup tables and update the index:

```bash
cocoindex update --setup main.py
cocoindex update --setup main
```

4. Run CocoInsight:
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/examples/examples/product_recommendation.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ Note that different relationships may share the same source and target nodes.

2. Run the following command to setup and update the index.
```sh
cocoindex update --setup main.py
cocoindex update --setup main
```

You'll see the index updates state in the terminal. For example, you'll see the following output:
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/examples/examples/simple_vector_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ There're two CocoIndex-specific logic:
- Run the following command to setup and update the index.

```sh
cocoindex update --setup main.py
cocoindex update --setup main
```

- Start the interactive query in terminal.
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/getting_started/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ CocoIndex supports other vector databases as well, with 1-line switch.
- Build the index:

```bash
cocoindex update --setup main.py
cocoindex update --setup main
```

CocoIndex will run for a few seconds and populate the target table with data as declared by the flow. It will output the following statistics:
Expand Down
2 changes: 1 addition & 1 deletion examples/custom_output_files/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pip install -e .
Update the target:

```bash
cocoindex update --setup main.py
cocoindex update --setup main
```

You can add new files to the `data/` directory, delete or update existing files.
Expand Down
2 changes: 1 addition & 1 deletion examples/face_recognition/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ We appreciate a star ⭐ at [CocoIndex Github](https://github.com/cocoindex-io/c
Update index, which will also setup the tables at the first time:

```bash
cocoindex update --setup main.py
cocoindex update --setup main
```

You can also run the command with `-L`, which will watch for file changes and update the index automatically.
Expand Down
4 changes: 2 additions & 2 deletions examples/paper_metadata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ We appreciate a star ⭐ at [CocoIndex Github](https://github.com/cocoindex-io/c
Update index, which will also setup the tables at the first time:

```bash
cocoindex update --setup main.py
cocoindex update --setup main
```

You can also run the command with `-L`, which will watch for file changes and update the index automatically.

```bash
cocoindex update --setup -L main.py
cocoindex update --setup -L main
```

## CocoInsight
Expand Down
2 changes: 1 addition & 1 deletion examples/postgres_source/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Before running the example, you need to:
Update index, which will also setup the tables at the first time:

```bash
cocoindex update --setup main.py
cocoindex update --setup main
```

## CocoInsight
Expand Down