Skip to content

Commit 9ea6ac6

Browse files
authored
chore(examples): explicitly set packages to [] & bump dep version (#511)
1 parent 83ca87f commit 9ea6ac6

File tree

10 files changed

+37
-9
lines changed

10 files changed

+37
-9
lines changed

examples/amazon_s3_embedding/pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ name = "amazon-s3-text-embedding"
33
version = "0.1.0"
44
description = "Simple example for cocoindex: build embedding index based on Amazon S3 files."
55
requires-python = ">=3.11"
6-
dependencies = ["cocoindex>=0.1.35", "python-dotenv>=1.0.1"]
6+
dependencies = ["cocoindex>=0.1.39", "python-dotenv>=1.0.1"]
7+
8+
[tool.setuptools]
9+
packages = []

examples/code_embedding/pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ 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.35", "python-dotenv>=1.0.1"]
6+
dependencies = ["cocoindex>=0.1.39", "python-dotenv>=1.0.1"]
7+
8+
[tool.setuptools]
9+
packages = []

examples/docs_to_knowledge_graph/pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ 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.35", "python-dotenv>=1.0.1"]
6+
dependencies = ["cocoindex>=0.1.39", "python-dotenv>=1.0.1"]
7+
8+
[tool.setuptools]
9+
packages = []

examples/gdrive_text_embedding/pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ 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.35", "python-dotenv>=1.0.1"]
6+
dependencies = ["cocoindex>=0.1.39", "python-dotenv>=1.0.1"]
7+
8+
[tool.setuptools]
9+
packages = []

examples/manuals_llm_extraction/pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ 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.35",
7+
"cocoindex>=0.1.39",
88
"python-dotenv>=1.0.1",
99
"marker-pdf>=1.5.2",
1010
]
11+
12+
[tool.setuptools]
13+
packages = []

examples/pdf_embedding/pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ 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.35",
7+
"cocoindex>=0.1.39",
88
"python-dotenv>=1.0.1",
99
"marker-pdf>=1.5.2",
1010
]
11+
12+
[tool.setuptools]
13+
packages = []

examples/product_taxonomy_knowledge_graph/pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ name = "cocoindex-ecommerce-taxonomy"
33
version = "0.1.0"
44
description = "Simple example for CocoIndex: extract taxonomy from e-commerce products and build knowledge graph."
55
requires-python = ">=3.10"
6-
dependencies = ["cocoindex>=0.1.35", "python-dotenv>=1.0.1", "jinja2>=3.1.6"]
6+
dependencies = ["cocoindex>=0.1.39", "python-dotenv>=1.0.1", "jinja2>=3.1.6"]
7+
8+
[tool.setuptools]
9+
packages = []

examples/text_embedding/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import cocoindex
44

5+
@cocoindex.transform_flow()
56
def text_to_embedding(text: cocoindex.DataSlice) -> cocoindex.DataSlice:
67
"""
78
Embed the text using a SentenceTransformer model.

examples/text_embedding/pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ name = "text-embedding"
33
version = "0.1.0"
44
description = "Simple example for cocoindex: build embedding index based on local text files."
55
requires-python = ">=3.10"
6-
dependencies = ["cocoindex>=0.1.35", "python-dotenv>=1.0.1"]
6+
dependencies = ["cocoindex>=0.1.39", "python-dotenv>=1.0.1"]
7+
8+
[tool.setuptools]
9+
packages = []

examples/text_embedding_qdrant/pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ name = "text-embedding-qdrant"
33
version = "0.1.0"
44
description = "Simple example for cocoindex: build embedding index based on local text files."
55
requires-python = ">=3.10"
6-
dependencies = ["cocoindex>=0.1.35", "python-dotenv>=1.0.1"]
6+
dependencies = ["cocoindex>=0.1.39", "python-dotenv>=1.0.1"]
7+
8+
[tool.setuptools]
9+
packages = []

0 commit comments

Comments
 (0)