Skip to content

Commit 84103ca

Browse files
committed
Updated readme [skip ci]
1 parent 02c07cc commit 84103ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ Note: Use the `halfvec` feature to enable half vectors
290290
Create a half vector
291291

292292
```rust
293+
use half::f16;
293294
use pgvector::HalfVector;
294295

295296
let vec = HalfVector::from(vec![f16::from_f32(1.0), f16::from_f32(2.0), f16::from_f32(3.0)]);

0 commit comments

Comments
 (0)