mirror of
https://github.com/lancedb/lancedb.git
synced 2026-05-20 05:20:40 +00:00
ci: fix docs build (#496)
python/python.md contains typos in the class references --------- Co-authored-by: Chang She <chang@lancedb.com>
This commit is contained in:
@@ -35,7 +35,7 @@ def test_sentence_transformer(alias, tmp_path):
|
||||
|
||||
class Words(LanceModel):
|
||||
text: str = func.SourceField()
|
||||
vector: Vector(func.ndims) = func.VectorField()
|
||||
vector: Vector(func.ndims()) = func.VectorField()
|
||||
|
||||
table = db.create_table("words", schema=Words)
|
||||
table.add(
|
||||
@@ -75,8 +75,8 @@ def test_openclip(tmp_path):
|
||||
label: str
|
||||
image_uri: str = func.SourceField()
|
||||
image_bytes: bytes = func.SourceField()
|
||||
vector: Vector(func.ndims) = func.VectorField()
|
||||
vec_from_bytes: Vector(func.ndims) = func.VectorField()
|
||||
vector: Vector(func.ndims()) = func.VectorField()
|
||||
vec_from_bytes: Vector(func.ndims()) = func.VectorField()
|
||||
|
||||
table = db.create_table("images", schema=Images)
|
||||
labels = ["cat", "cat", "dog", "dog", "horse", "horse"]
|
||||
|
||||
Reference in New Issue
Block a user