From b3f00f195d3d7f3ef3f99c28aab9f5098e5772d8 Mon Sep 17 00:00:00 2001 From: LJ Date: Thu, 1 May 2025 10:50:00 -0700 Subject: [PATCH 1/2] docs: use `-ci` instead of `-c https://cocoindex.io/` to start server --- examples/code_embedding/README.md | 2 +- examples/docs_to_knowledge_graph/README.md | 6 +----- examples/gdrive_text_embedding/README.md | 4 ++-- examples/manuals_llm_extraction/README.md | 2 +- examples/pdf_embedding/README.md | 2 +- examples/text_embedding/README.md | 2 +- examples/text_embedding_qdrant/README.md | 2 +- 7 files changed, 8 insertions(+), 12 deletions(-) diff --git a/examples/code_embedding/README.md b/examples/code_embedding/README.md index 8672f682..5d716fa6 100644 --- a/examples/code_embedding/README.md +++ b/examples/code_embedding/README.md @@ -46,7 +46,7 @@ CocoInsight is in Early Access now (Free) 😊 You found us! A quick 3 minute vi Run CocoInsight to understand your RAG data pipeline: ``` -python main.py cocoindex server -c https://cocoindex.io +python main.py cocoindex server -ci ``` Then open the CocoInsight UI at [https://cocoindex.io/cocoinsight](https://cocoindex.io/cocoinsight). diff --git a/examples/docs_to_knowledge_graph/README.md b/examples/docs_to_knowledge_graph/README.md index 58176757..4cc3de12 100644 --- a/examples/docs_to_knowledge_graph/README.md +++ b/examples/docs_to_knowledge_graph/README.md @@ -66,15 +66,11 @@ I used CocoInsight (Free beta now) to troubleshoot the index generation and unde It just connects to your local CocoIndex server, with Zero pipeline data retention. Run following command to start CocoInsight: ```bash -python3 main.py cocoindex server -c https://cocoindex.io +python main.py cocoindex server -ci ``` And then open the url https://cocoindex.io/cocoinsight. -``` -python main.py cocoindex server -c https://cocoindex.io -``` - cocoinsight diff --git a/examples/gdrive_text_embedding/README.md b/examples/gdrive_text_embedding/README.md index 3152782d..b0106a1f 100644 --- a/examples/gdrive_text_embedding/README.md +++ b/examples/gdrive_text_embedding/README.md @@ -53,13 +53,13 @@ CocoInsight is in Early Access now (Free) 😊 You found us! A quick 3 minute vi Run CocoInsight to understand your RAG data pipeline: ```sh -python main.py cocoindex server -c https://cocoindex.io +python main.py cocoindex server -ci ``` You can also add a `-L` flag to make the server keep updating the index to reflect source changes at the same time: ```sh -python main.py cocoindex server -c https://cocoindex.io -L +python main.py cocoindex server -ci -L ``` Then open the CocoInsight UI at [https://cocoindex.io/cocoinsight](https://cocoindex.io/cocoinsight). \ No newline at end of file diff --git a/examples/manuals_llm_extraction/README.md b/examples/manuals_llm_extraction/README.md index 8de33d9e..a512aa92 100644 --- a/examples/manuals_llm_extraction/README.md +++ b/examples/manuals_llm_extraction/README.md @@ -65,7 +65,7 @@ CocoInsight is a tool to help you understand your data pipeline and data index. Run CocoInsight to understand your RAG data pipeline: ``` -python main.py cocoindex server -c https://cocoindex.io +python main.py cocoindex server -ci ``` 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. diff --git a/examples/pdf_embedding/README.md b/examples/pdf_embedding/README.md index 3c6dde7e..3dde765d 100644 --- a/examples/pdf_embedding/README.md +++ b/examples/pdf_embedding/README.md @@ -35,7 +35,7 @@ CocoInsight is in Early Access now (Free) 😊 You found us! A quick 3 minute vi Run CocoInsight to understand your RAG data pipeline: ``` -python main.py cocoindex server -c https://cocoindex.io +python main.py cocoindex server -ci ``` Then open the CocoInsight UI at [https://cocoindex.io/cocoinsight](https://cocoindex.io/cocoinsight). \ No newline at end of file diff --git a/examples/text_embedding/README.md b/examples/text_embedding/README.md index 9d6f6f35..68cd4ec2 100644 --- a/examples/text_embedding/README.md +++ b/examples/text_embedding/README.md @@ -39,7 +39,7 @@ CocoInsight is in Early Access now (Free) 😊 You found us! A quick 3 minute vi Run CocoInsight to understand your RAG data pipeline: ``` -python main.py cocoindex server -c https://cocoindex.io +python main.py cocoindex server -ci ``` Then open the CocoInsight UI at [https://cocoindex.io/cocoinsight](https://cocoindex.io/cocoinsight). diff --git a/examples/text_embedding_qdrant/README.md b/examples/text_embedding_qdrant/README.md index 6d66a4f5..5e2ea059 100644 --- a/examples/text_embedding_qdrant/README.md +++ b/examples/text_embedding_qdrant/README.md @@ -63,7 +63,7 @@ CocoInsight is in Early Access now (Free) 😊 You found us! A quick 3 minute vi Run CocoInsight to understand your RAG data pipeline: ```bash -python main.py cocoindex server -c https://cocoindex.io +python main.py cocoindex server -ci ``` Then open the CocoInsight UI at [https://cocoindex.io/cocoinsight](https://cocoindex.io/cocoinsight). From ea11f6e36d2dd08b6f9b70779af0c8c8c46a884d Mon Sep 17 00:00:00 2001 From: LJ Date: Thu, 1 May 2025 10:52:07 -0700 Subject: [PATCH 2/2] chore(examples): bump dep versions on `cocoindex` to 0.1.30 --- examples/code_embedding/pyproject.toml | 2 +- examples/docs_to_knowledge_graph/pyproject.toml | 2 +- examples/gdrive_text_embedding/pyproject.toml | 2 +- examples/manuals_llm_extraction/pyproject.toml | 2 +- examples/pdf_embedding/pyproject.toml | 2 +- examples/text_embedding/pyproject.toml | 2 +- examples/text_embedding_qdrant/pyproject.toml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/code_embedding/pyproject.toml b/examples/code_embedding/pyproject.toml index 3154fdc7..2a357a67 100644 --- a/examples/code_embedding/pyproject.toml +++ b/examples/code_embedding/pyproject.toml @@ -3,4 +3,4 @@ name = "code-embedding" version = "0.1.0" description = "Simple example for cocoindex: build embedding index based on source code." requires-python = ">=3.10" -dependencies = ["cocoindex>=0.1.26", "python-dotenv>=1.0.1"] +dependencies = ["cocoindex>=0.1.30", "python-dotenv>=1.0.1"] diff --git a/examples/docs_to_knowledge_graph/pyproject.toml b/examples/docs_to_knowledge_graph/pyproject.toml index e8821315..75c0b635 100644 --- a/examples/docs_to_knowledge_graph/pyproject.toml +++ b/examples/docs_to_knowledge_graph/pyproject.toml @@ -3,4 +3,4 @@ name = "manuals-to-kg" version = "0.1.0" description = "Simple example for cocoindex: extract triples from files and build knowledge graph." requires-python = ">=3.10" -dependencies = ["cocoindex>=0.1.26", "python-dotenv>=1.0.1"] +dependencies = ["cocoindex>=0.1.30", "python-dotenv>=1.0.1"] diff --git a/examples/gdrive_text_embedding/pyproject.toml b/examples/gdrive_text_embedding/pyproject.toml index 193e4323..15ffac85 100644 --- a/examples/gdrive_text_embedding/pyproject.toml +++ b/examples/gdrive_text_embedding/pyproject.toml @@ -3,4 +3,4 @@ name = "gdrive-text-embedding" version = "0.1.0" description = "Simple example for cocoindex: build embedding index based on Google Drive files." requires-python = ">=3.11" -dependencies = ["cocoindex>=0.1.26", "python-dotenv>=1.0.1"] +dependencies = ["cocoindex>=0.1.30", "python-dotenv>=1.0.1"] diff --git a/examples/manuals_llm_extraction/pyproject.toml b/examples/manuals_llm_extraction/pyproject.toml index 1c500b02..69c63e6a 100644 --- a/examples/manuals_llm_extraction/pyproject.toml +++ b/examples/manuals_llm_extraction/pyproject.toml @@ -4,7 +4,7 @@ version = "0.1.0" description = "Simple example for cocoindex: extract structured information from a Markdown file using LLM." requires-python = ">=3.10" dependencies = [ - "cocoindex>=0.1.26", + "cocoindex>=0.1.30", "python-dotenv>=1.0.1", "marker-pdf>=1.5.2", ] diff --git a/examples/pdf_embedding/pyproject.toml b/examples/pdf_embedding/pyproject.toml index c180a3fe..952bdbc9 100644 --- a/examples/pdf_embedding/pyproject.toml +++ b/examples/pdf_embedding/pyproject.toml @@ -4,7 +4,7 @@ version = "0.1.0" description = "Simple example for cocoindex: build embedding index based on local PDF files." requires-python = ">=3.10" dependencies = [ - "cocoindex>=0.1.26", + "cocoindex>=0.1.30", "python-dotenv>=1.0.1", "marker-pdf>=1.5.2", ] diff --git a/examples/text_embedding/pyproject.toml b/examples/text_embedding/pyproject.toml index 20fd180e..78501dd4 100644 --- a/examples/text_embedding/pyproject.toml +++ b/examples/text_embedding/pyproject.toml @@ -3,4 +3,4 @@ name = "text-embedding" version = "0.1.0" description = "Simple example for cocoindex: build embedding index based on local text files." requires-python = ">=3.10" -dependencies = ["cocoindex>=0.1.26", "python-dotenv>=1.0.1"] +dependencies = ["cocoindex>=0.1.30", "python-dotenv>=1.0.1"] diff --git a/examples/text_embedding_qdrant/pyproject.toml b/examples/text_embedding_qdrant/pyproject.toml index cc5981ae..0754f9b2 100644 --- a/examples/text_embedding_qdrant/pyproject.toml +++ b/examples/text_embedding_qdrant/pyproject.toml @@ -3,4 +3,4 @@ name = "text-embedding-qdrant" version = "0.1.0" description = "Simple example for cocoindex: build embedding index based on local text files." requires-python = ">=3.10" -dependencies = ["cocoindex>=0.1.26", "python-dotenv>=1.0.1"] +dependencies = ["cocoindex>=0.1.30", "python-dotenv>=1.0.1"]