lancedb
Installation
SKILL.md
Critical Patterns
Table Creation (REQUIRED)
import lancedb
# ✅ ALWAYS: Define schema clearly
db = lancedb.connect("./my_db")
data = [
{"id": 1, "text": "Hello world", "vector": [0.1, 0.2, ...]},
{"id": 2, "text": "Goodbye world", "vector": [0.3, 0.4, ...]},
]
table = db.create_table("my_table", data)