mirror of
https://github.com/lancedb/lancedb.git
synced 2025-12-27 15:12:53 +00:00
Sometimes LangChain would insert a single `[np.nan]` as a placeholder if the embedding function failed. This causes a problem for Lance format because then the array can't be stored as a FixedSizedListArray. Instead: 1. By default we remove rows with embedding lengths less than the maximum length in the batch 2. If `strict=True` kwargs is set to True, then a `ValueError` is raised if the embeddings aren't all the same length --------- Co-authored-by: Chang She <chang@lancedb.com>
34 lines
328 B
Plaintext
34 lines
328 B
Plaintext
.idea
|
|
**/*.whl
|
|
*.egg-info
|
|
**/__pycache__
|
|
.DS_Store
|
|
venv
|
|
|
|
rust/target
|
|
rust/Cargo.lock
|
|
|
|
site
|
|
|
|
.pytest_cache
|
|
.ruff_cache
|
|
|
|
python/build
|
|
python/dist
|
|
|
|
**/.ipynb_checkpoints
|
|
|
|
**/.hypothesis
|
|
|
|
## Javascript
|
|
*.node
|
|
**/node_modules
|
|
**/.DS_Store
|
|
node/dist
|
|
node/examples/**/package-lock.json
|
|
node/examples/**/dist
|
|
|
|
## Rust
|
|
target
|
|
|
|
Cargo.lock |