[python] Use pydantic for embedding function persistence (#467)

1. Support persistent embedding function so users can just search using
query string
2. Add fixed size list conversion for multiple vector columns
3. Add support for empty query (just apply select/where/limit).
4. Refactor and simplify some of the data prep code

---------

Co-authored-by: Chang She <chang@lancedb.com>
Co-authored-by: Weston Pace <weston.pace@gmail.com>
This commit is contained in:
Chang She
2023-09-05 21:30:45 -07:00
committed by GitHub
co-authored by Chang She Weston Pace
parent 52fa7f5577
commit 9a9a73a65d
13 changed files with 815 additions and 192 deletions
+2 -1
View File
@@ -9,7 +9,8 @@ dependencies = [
"aiohttp",
"pydantic",
"attr",
"semver>=3.0"
"semver>=3.0",
"cachetools"
]
description = "lancedb"
authors = [{ name = "LanceDB Devs", email = "dev@lancedb.com" }]