Skip to content

Commit fc3c8d4

Browse files
authored
feat: add a few lance examples in Rust (#3817)
* Add an example on how to write and read dataset * Rewrite the Python llm_dataset_creation example in Rust * Add an example on how to build hnsw index with Lance dataset * It also fixes few typos and missing includes in the Python example * Re-structure the example docs section It's linked to the existing example [section](https://lancedb.github.io/lancedb/examples/examples_rust/) and restructured the example files. <img width="745" alt="image" src="https://github.com/user-attachments/assets/86ca2427-1734-4986-89fd-7a2b936005de" />
1 parent 80e07d0 commit fc3c8d4

23 files changed

Lines changed: 1537 additions & 690 deletions

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
echo "ALL_FEATURES=${ALL_FEATURES}" >> $GITHUB_ENV
5959
- uses: auguwu/clippy-action@1.4.0
6060
with:
61-
check-args: --locked --features ${{ env.ALL_FEATURES }} --tests --benches
61+
check-args: --locked --features ${{ env.ALL_FEATURES }} --tests --benches --examples
6262
token: ${{secrets.GITHUB_TOKEN}}
6363
deny: warnings
6464
cargo-deny:

0 commit comments

Comments
 (0)