Compare commits

...

3 Commits

Author SHA1 Message Date
rmeng 669cf2a8cf chore: bump arrow to 51 2024-04-23 15:20:06 -04:00
Lance Release 431f94e564 [python] Bump version: 0.6.9 → 0.6.10 2024-04-22 17:42:24 +00:00
Alex Kohler c1a7d65473 chore: fix get_registry call in baai embeddings example (#1230) 2024-04-20 07:25:16 +05:30
4 changed files with 11 additions and 11 deletions
+8 -8
View File
@@ -19,14 +19,14 @@ lance-index = { "version" = "=0.10.15" }
lance-linalg = { "version" = "=0.10.15" } lance-linalg = { "version" = "=0.10.15" }
lance-testing = { "version" = "=0.10.15" } lance-testing = { "version" = "=0.10.15" }
# Note that this one does not include pyarrow # Note that this one does not include pyarrow
arrow = { version = "50.0", optional = false } arrow = { version = "51.0", optional = false }
arrow-array = "50.0" arrow-array = "51.0"
arrow-data = "50.0" arrow-data = "51.0"
arrow-ipc = "50.0" arrow-ipc = "51.0"
arrow-ord = "50.0" arrow-ord = "51.0"
arrow-schema = "50.0" arrow-schema = "51.0"
arrow-arith = "50.0" arrow-arith = "51.0"
arrow-cast = "50.0" arrow-cast = "51.0"
async-trait = "0" async-trait = "0"
chrono = "0.4.35" chrono = "0.4.35"
half = { "version" = "=2.3.1", default-features = false, features = [ half = { "version" = "=2.3.1", default-features = false, features = [
@@ -159,7 +159,7 @@ Allows you to set parameters when registering a `sentence-transformers` object.
from lancedb.embeddings import get_registry from lancedb.embeddings import get_registry
db = lancedb.connect("/tmp/db") db = lancedb.connect("/tmp/db")
model = get_registry.get("sentence-transformers").create(name="BAAI/bge-small-en-v1.5", device="cpu") model = get_registry().get("sentence-transformers").create(name="BAAI/bge-small-en-v1.5", device="cpu")
class Words(LanceModel): class Words(LanceModel):
text: str = model.SourceField() text: str = model.SourceField()
+1 -1
View File
@@ -1,5 +1,5 @@
[bumpversion] [bumpversion]
current_version = 0.6.9 current_version = 0.6.10
commit = True commit = True
message = [python] Bump version: {current_version} → {new_version} message = [python] Bump version: {current_version} → {new_version}
tag = True tag = True
+1 -1
View File
@@ -1,6 +1,6 @@
[project] [project]
name = "lancedb" name = "lancedb"
version = "0.6.9" version = "0.6.10"
dependencies = [ dependencies = [
"deprecation", "deprecation",
"pylance==0.10.12", "pylance==0.10.12",