Skip to content

Commit 6c1fa98

Browse files
committed
Updated example to pyproject.toml [skip ci]
1 parent 5392e2c commit 6c1fa98

35 files changed

+203
-67
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ To run an example:
816816

817817
```sh
818818
cd examples/loading
819-
pip install -r requirements.txt
819+
pip install --group dev
820820
createdb pgvector_example
821821
python3 example.py
822822
```

examples/citus/pyproject.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[project]
2+
name = "example"
3+
version = "0.1.0"
4+
requires-python = ">= 3.9"
5+
6+
[dependency-groups]
7+
dev = [
8+
"numpy",
9+
"pgvector",
10+
"psycopg[binary]"
11+
]

examples/citus/requirements.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

examples/cohere/pyproject.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[project]
2+
name = "example"
3+
version = "0.1.0"
4+
requires-python = ">= 3.9"
5+
6+
[dependency-groups]
7+
dev = [
8+
"cohere",
9+
"pgvector",
10+
"psycopg[binary]"
11+
]

examples/cohere/requirements.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

examples/colbert/pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[project]
2+
name = "example"
3+
version = "0.1.0"
4+
requires-python = ">= 3.9"
5+
6+
[dependency-groups]
7+
dev = [
8+
"colbert-ai",
9+
"pgvector",
10+
"psycopg[binary]",
11+
"transformers==4.49.0"
12+
]

examples/colbert/requirements.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

examples/colpali/pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[project]
2+
name = "example"
3+
version = "0.1.0"
4+
requires-python = ">= 3.9"
5+
6+
[dependency-groups]
7+
dev = [
8+
"colpali-engine",
9+
"datasets",
10+
"pgvector",
11+
"psycopg[binary]"
12+
]

examples/colpali/requirements.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

examples/gensim/pyproject.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[project]
2+
name = "example"
3+
version = "0.1.0"
4+
requires-python = ">= 3.9"
5+
6+
[dependency-groups]
7+
dev = [
8+
"gensim",
9+
"numpy",
10+
"pgvector",
11+
"psycopg[binary]",
12+
"scipy<1.13"
13+
]

0 commit comments

Comments
 (0)