(self)
| 30 | Doc(id="1") |
| 31 | |
| 32 | def test_with_single_vector(self): |
| 33 | doc = Doc(id="1", vectors={"dense": [1, 2, 3]}) |
| 34 | assert doc is not None |
| 35 | assert doc.id == "1" |
| 36 | assert doc.vector("dense") == [1, 2, 3] |
| 37 | |
| 38 | def test_with_hybrid_vectors(self): |
| 39 | doc = Doc( |