diff --git a/docs/docs/core/flow_methods.mdx b/docs/docs/core/flow_methods.mdx index dbbe22f1a..589a69ce0 100644 --- a/docs/docs/core/flow_methods.mdx +++ b/docs/docs/core/flow_methods.mdx @@ -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 ``` With a `--reexport` option, it will reexport the targets even if there's no change. diff --git a/docs/docs/examples/examples/codebase_index.md b/docs/docs/examples/examples/codebase_index.md index e914d8e24..0e1caa672 100644 --- a/docs/docs/examples/examples/codebase_index.md +++ b/docs/docs/examples/examples/codebase_index.md @@ -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 diff --git a/docs/docs/examples/examples/custom_targets.md b/docs/docs/examples/examples/custom_targets.md index f67c75ae0..3094f1a79 100644 --- a/docs/docs/examples/examples/custom_targets.md +++ b/docs/docs/examples/examples/custom_targets.md @@ -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. diff --git a/docs/docs/examples/examples/docs_to_knowledge_graph.md b/docs/docs/examples/examples/docs_to_knowledge_graph.md index 2d54fd286..80a4808ff 100644 --- a/docs/docs/examples/examples/docs_to_knowledge_graph.md +++ b/docs/docs/examples/examples/docs_to_knowledge_graph.md @@ -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, diff --git a/docs/docs/examples/examples/patient_form_extraction.md b/docs/docs/examples/examples/patient_form_extraction.md index d6f10f27e..5068d54e0 100644 --- a/docs/docs/examples/examples/patient_form_extraction.md +++ b/docs/docs/examples/examples/patient_form_extraction.md @@ -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 diff --git a/docs/docs/examples/examples/postgres_source.md b/docs/docs/examples/examples/postgres_source.md index 1c253c63f..00cf99e51 100644 --- a/docs/docs/examples/examples/postgres_source.md +++ b/docs/docs/examples/examples/postgres_source.md @@ -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: diff --git a/docs/docs/examples/examples/product_recommendation.md b/docs/docs/examples/examples/product_recommendation.md index b7284ff75..6f5e4a180 100644 --- a/docs/docs/examples/examples/product_recommendation.md +++ b/docs/docs/examples/examples/product_recommendation.md @@ -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: diff --git a/docs/docs/examples/examples/simple_vector_index.md b/docs/docs/examples/examples/simple_vector_index.md index 98861f3d8..bb2fc5803 100644 --- a/docs/docs/examples/examples/simple_vector_index.md +++ b/docs/docs/examples/examples/simple_vector_index.md @@ -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. diff --git a/docs/docs/getting_started/quickstart.md b/docs/docs/getting_started/quickstart.md index 959764ca1..b9d6ee924 100644 --- a/docs/docs/getting_started/quickstart.md +++ b/docs/docs/getting_started/quickstart.md @@ -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: diff --git a/examples/custom_output_files/README.md b/examples/custom_output_files/README.md index 869ad2e03..49b083056 100644 --- a/examples/custom_output_files/README.md +++ b/examples/custom_output_files/README.md @@ -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. diff --git a/examples/face_recognition/README.md b/examples/face_recognition/README.md index 2eb051a78..2fef7ea00 100644 --- a/examples/face_recognition/README.md +++ b/examples/face_recognition/README.md @@ -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. diff --git a/examples/paper_metadata/README.md b/examples/paper_metadata/README.md index 81be71463..e75feafc4 100644 --- a/examples/paper_metadata/README.md +++ b/examples/paper_metadata/README.md @@ -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 diff --git a/examples/postgres_source/README.md b/examples/postgres_source/README.md index f572224b8..f1de6f3c8 100644 --- a/examples/postgres_source/README.md +++ b/examples/postgres_source/README.md @@ -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