Respan instrumentation plugin for LanceDB
Project description
respan-instrumentation-lancedb
Respan instrumentation for synchronous and asynchronous LanceDB connections, tables, and query execution.
pip install respan-ai respan-instrumentation-lancedb lancedb
import lancedb
from respan import Respan
from respan_instrumentation_lancedb import LanceDBInstrumentor
respan = Respan(instrumentations=[LanceDBInstrumentor()])
db = lancedb.connect("/tmp/lancedb")
table = db.create_table("documents", [{"vector": [0.1, 0.2], "text": "hello"}], mode="overwrite")
print(table.search([0.1, 0.2]).limit(1).to_list())
respan.flush()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file respan_instrumentation_lancedb-0.1.0.tar.gz.
File metadata
- Download URL: respan_instrumentation_lancedb-0.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.13.12 Linux/6.17.0-35-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49cf50a56bd655edb89ec21dc6493c2f7523f4af71523a146b6fe7bc98c45959
|
|
| MD5 |
fd16a400e8d16ae90c58f06883cbd9fa
|
|
| BLAKE2b-256 |
e8dd9dc8ada3bf63061f213963fbe7affb2f4bea52c8f0b8d621be856d16a606
|