qzhu
8e25e0c7f0
reformatted
2023-12-07 12:08:05 -08:00
qzhu
5f989e86d2
SaaS python SDK doc
2023-12-07 12:01:03 -08:00
Bert
6eb662de9b
fix: python remote correct open_table error message ( #659 )
2023-11-24 19:28:33 -05:00
Lance Release
38321fa226
[python] Bump version: 0.3.3 → 0.3.4
2023-11-19 00:24:01 +00:00
Will Jones
a57aa4b142
chore: upgrade lance to v0.8.17 ( #656 )
...
Readying for the next Lance release.
2023-11-18 15:57:23 -08:00
Rok Mihevc
d8e3e54226
feat(python): expose index cache size ( #655 )
...
This is to enable https://github.com/lancedb/lancedb/issues/641 .
Should be merged after https://github.com/lancedb/lance/pull/1587 is
released.
2023-11-18 14:17:40 -08:00
Aidan
1cf8a3e4e0
SaaS create_index API ( #649 )
2023-11-15 19:12:52 -05:00
Rok Mihevc
1c872ce501
feat: add RemoteTable.version in Python ( #644 )
...
Please note: this is not tested as we don't have a server here and
testing against a mock object wouldn't be that interesting.
2023-11-13 21:43:48 +01:00
Ayush Chaurasia
ae0d2f2599
fix: Pydantic 1.x compat for weak_lru caching in embeddings API ( #643 )
...
Colab has pydantic 1.x by default and pydantic 1.x BaseModel objects
don't support weakref creation by default that we use to cache embedding
models
https://github.com/lancedb/lancedb/blob/main/python/lancedb/embeddings/utils.py#L206
. It needs to be added to slot.
2023-11-10 15:02:38 +05:30
Ayush Chaurasia
1e8678f11a
Multi-task instructor model with quantization support & weak_lru cache for embedding function models ( #612 )
...
resolves #608
2023-11-09 12:34:18 +05:30
QianZhu
662968559d
fix saas open_table and table_names issues ( #640 )
...
- added check whether a table exists in SaaS open_table
- remove prefilter not supported warning in SaaS search
- fixed issues for SaaS table_names
2023-11-07 17:34:38 -08:00
Lei Xu
554e068917
chore: improve create_table API consistency between local and remote SDK ( #627 )
2023-11-03 13:15:11 -07:00
Ayush Chaurasia
1589499f89
Exponential standoff retry support for handling rate limited embedding functions ( #614 )
...
Users ingesting data using rate limited apis don't need to manually make
the process sleep for counter rate limits
resolves #579
2023-11-02 19:20:10 +05:30
Lance Release
ef20b2a138
[python] Bump version: 0.3.2 → 0.3.3
2023-11-01 21:15:55 +00:00
Lei Xu
2e0f251bfd
chore: bump lance to 8.10 ( #622 )
2023-11-01 14:14:38 -07:00
Ayush Chaurasia
2cb91e818d
Disable posthog on docs & reduce sentry trace factor ( #607 )
...
- posthog charges per event and docs events are registered very
frequently. We can keep tracking them on GA
- Reduced sentry trace factor
2023-11-02 01:13:16 +05:30
Bert
24111d543a
fix!: sort table names ( #619 )
...
https://github.com/lancedb/lance/issues/1385
2023-11-01 10:50:09 -04:00
QianZhu
7eec2b8f9a
Qian/query option doc ( #615 )
...
- API documentation improvement for queries (table.search)
- a small bug fix for the remote API on create_table


2023-10-31 19:50:05 -07:00
Will Jones
b2b70ea399
increment pylance ( #618 )
2023-10-31 18:07:03 -07:00
Bert
e50a3c1783
added api docs for prefilter flag ( #617 )
...
Added the prefilter flag argument to the `LanceQueryBuilder.where`.
This should make it display here:
https://lancedb.github.io/lancedb/python/python/#lancedb.query.LanceQueryBuilder.select
And also in intellisense like this:
<img width="848" alt="image"
src="https://github.com/lancedb/lancedb/assets/5846846/e0c53f4f-96bc-411b-9159-680a6c4d0070 ">
Also adds some improved documentation about the `where` argument to this
method.
---------
Co-authored-by: Weston Pace <weston.pace@gmail.com >
2023-10-31 16:39:32 -04:00
Weston Pace
b517134309
feat: allow prefiltering with index ( #610 )
...
Support for prefiltering with an index was added in lance version 0.8.7.
We can remove the lancedb check that prevents this. Closes #261
2023-10-31 13:11:03 -07:00
Lance Release
f3cf986777
[python] Bump version: 0.3.1 → 0.3.2
2023-10-24 19:06:38 +00:00
Bert
c73fcc8898
update lance to 0.8.7 ( #598 )
2023-10-24 14:49:36 -04:00
Chang She
cd9debc3b7
fix(python): fix multiple embedding functions bug ( #597 )
...
Closes #594
The embedding functions are pydantic models so multiple instances with
the same parameters are considered ==, which means that if you have
multiple embedding columns it's possible for the embeddings to get
overwritten. Instead we use `is` instead of == to avoid this problem.
testing: modified unit test to include this case
2023-10-24 13:05:05 -04:00
Will Jones
14e8e48de2
Revert "[python] Bump version: 0.3.2 → 0.3.3"
...
This reverts commit c30faf6083 .
2023-10-20 17:52:49 -07:00
Will Jones
c30faf6083
[python] Bump version: 0.3.2 → 0.3.3
2023-10-20 17:30:00 -07:00
Chang She
0ed39b6146
chore: bump lance version in python/rust lancedb ( #584 )
...
To include latest v0.8.6
Co-authored-by: Chang She <chang@lancedb.com >
2023-10-19 13:05:12 -07:00
Ayush Chaurasia
0293bbe142
[Python]Embeddings API refactor ( #580 )
...
Sets things up for this -> https://github.com/lancedb/lancedb/issues/579
- Just separates out the registry/ingestion code from the function
implementation code
- adds a `get_registry` util
- package name "open-clip" -> "open-clip-torch"
2023-10-17 22:32:19 -07:00
QianZhu
d46bc5dd6e
list table pagination draft ( #574 )
2023-10-16 21:09:20 -07:00
Prashanth Rao
86efb11572
Add pyarrow date and timestamp type conversion from pydantic ( #576 )
2023-10-16 19:42:24 -07:00
Lei Xu
fe64fc4671
feat(python,js): deletion operation on remote tables ( #568 )
2023-10-14 15:47:19 -07:00
Rok Mihevc
6d66404506
docs: switch python examples to be row based ( #554 )
2023-10-14 14:07:43 -07:00
Lei Xu
eff94ecea8
chore: bump lance to 0.8.5 ( #561 )
...
Bump lance to 0.5.8
2023-10-14 12:38:43 -07:00
Ayush Chaurasia
7dfb555fea
[DOCS][PYTHON] Update embeddings API docs & Example ( #516 )
...
This PR adds an overview of embeddings docs:
- 2 ways to vectorize your data using lancedb - explicit & implicit
- explicit - manually vectorize your data using `wit_embedding` function
- Implicit - automatically vectorize your data as it comes by ingesting
your embedding function details as table metadata
- Multi-modal example w/ disappearing embedding function
2023-10-14 07:56:07 +05:30
Lance Release
1096da09da
[python] Bump version: 0.3.0 → 0.3.1
2023-10-13 21:23:47 +00:00
Ayush Chaurasia
683824f1e9
Add cohere embedding function ( #550 )
2023-10-13 16:27:34 +05:30
Will Jones
db7bdefe77
feat: cleanup and compaction ( #518 )
...
#488
2023-10-11 12:49:12 -07:00
Chang She
e1ae2bcbd8
feat: add to_list and to_pandas api's ( #556 )
...
Add `to_list` to return query results as list of python dict (so we're
not too pandas-centric). Closes #555
Add `to_pandas` API and add deprecation warning on `to_df`. Closes #545
Co-authored-by: Chang She <chang@lancedb.com >
2023-10-11 12:18:55 -07:00
Ayush Chaurasia
a1377afcaa
feat: telemetry, error tracking, CLI & config manager ( #538 )
...
Co-authored-by: Lance Release <lance-dev@lancedb.com >
Co-authored-by: Rob Meng <rob.xu.meng@gmail.com >
Co-authored-by: Will Jones <willjones127@gmail.com >
Co-authored-by: Chang She <759245+changhiskhan@users.noreply.github.com >
Co-authored-by: rmeng <rob@lancedb.com >
Co-authored-by: Chang She <chang@lancedb.com >
Co-authored-by: Rok Mihevc <rok@mihevc.org >
2023-10-08 23:11:39 +05:30
Lei Xu
a26c8f3316
feat: use GPU for index creation. ( #540 )
...
Bump lance to 0.8.3 to include GPU training
---------
Co-authored-by: Rob Meng <rob.xu.meng@gmail.com >
2023-10-05 20:49:00 -07:00
Lance Release
a022368426
[python] Bump version: 0.2.6 → 0.3.0
2023-10-03 21:48:22 +00:00
Lei Xu
8b815ef5a8
chore: upgrade lance to 0.8.1 ( #536 )
...
Bump to lance 0.8.1 for both javascript and python sdk
2023-10-03 14:29:18 -07:00
Lance Release
d326146a40
[python] Bump version: 0.2.5 → 0.2.6
2023-10-01 17:48:59 +00:00
Chang She
693bca1eba
feat(python): expose prefilter to lancedb ( #522 )
...
We have experimental support for prefiltering (without ANN) in pylance.
This means that we can now apply a filter BEFORE vector search is
performed. This can be done via the `.where(filter_string,
prefilter=True)` kwargs of the query.
Limitations:
- When connecting to LanceDB cloud, `prefilter=True` will raise
NotImplemented
- When an ANN index is present, `prefilter=True` will raise
NotImplemented
- This option is not available for full text search query
- This option is not available for empty search query (just
filter/project)
Additional changes in this PR:
- Bump pylance version to v0.8.0 which supports the experimental
prefiltering.
---------
Co-authored-by: Chang She <chang@lancedb.com >
2023-10-01 10:34:12 -07:00
Will Jones
343e274ea5
fix: define minimum dependency versions ( #515 )
...
Closes #513
For each of these, I found the minimum version that would allow the unit
tests to pass.
2023-09-29 09:04:49 -07:00
Rob Meng
a695fb8030
fix import attr to use import attrs ( #510 )
...
Thanks to #508 , I used `attr` instead of the correct package `attrs`
s/attr/attrs
2023-09-23 00:30:56 -04:00
Hynek Schlawack
bc8670d7af
[Python] Fix attrs dependency ( #508 )
...
The `attr` project is unrelated to `attrs` that also provides the `attr`
namespace (see also <https://hynek.me/articles/import-attrs/ >).
It used to _usually_ work, because attrs is a dependency of aiohttp and
somehow took precedence over `attr`'s `attr`.
Yes, sorry, it's a mess.
2023-09-21 12:35:34 -04:00
Lance Release
74004161ff
[python] Bump version: 0.2.4 → 0.2.5
2023-09-19 16:43:06 +00:00
Chang She
f20f19b804
feat: improve pydantic 1.x compat ( #503 )
2023-09-18 19:01:30 -07:00
Chang She
55207ce844
feat: add lancedb.__version__ ( #504 )
2023-09-18 18:51:51 -07:00