mirror of
https://github.com/lancedb/lancedb.git
synced 2026-12-03 07:45:17 +00:00
## Summary - Import `lancedb` before the Embedded Python connection example uses it. - Explain how to use the default RRF reranker when skipping the optional setup step in Python or TypeScript. ## Testing - Ran the original walkthrough in fresh Python 3.12 and Node.js 24 processes. The Python connection raised `NameError`, and skipping the optional reranker setup raised `NameError` in Python and `ReferenceError` in TypeScript. - Ran the updated steps with the published LanceDB 0.42.0 Python and Node SDKs, real Embedded tables and full-text indexes, and deterministic test embeddings. Both explicit and default RRF returned the same four rows in the same order and with the same relevance scores in each SDK. - Checked the edited page with Vale 3.24.0 and checked the staged diff. AI assistance disclosure. OpenAI Codex reproduced the errors, prepared the documentation change, and ran the checks.