ci: fix broken CI checks (#2585)

This commit is contained in:
Weston Pace
2025-08-13 10:05:57 -07:00
committed by GitHub
parent 4ff87b1f4a
commit 16beaaa656
4 changed files with 14 additions and 14 deletions

View File

@@ -12,7 +12,7 @@ test("ann index examples", async () => {
// --8<-- [start:ingest]
const db = await lancedb.connect(databaseDir);
const data = Array.from({ length: 5_000 }, (_, i) => ({
const data = Array.from({ length: 1_000 }, (_, i) => ({
vector: Array(128).fill(i),
id: `${i}`,
content: "",
@@ -24,8 +24,8 @@ test("ann index examples", async () => {
});
await table.createIndex("vector", {
config: lancedb.Index.ivfPq({
numPartitions: 10,
numSubVectors: 16,
numPartitions: 30,
numSubVectors: 8,
}),
});
// --8<-- [end:ingest]