Skip to content

Commit 56f7362

Browse files
authored
Fix broken example links in README (#23)
1 parent d0f6246 commit 56f7362

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ await client.query('CREATE INDEX ON items USING ivfflat (embedding vector_l2_ops
9090

9191
Use `vector_ip_ops` for inner product and `vector_cosine_ops` for cosine distance
9292

93-
See a [full example](tests/pg/index.test.mjs)
93+
See a [full example](tests/pg.test.mjs)
9494

9595
## Knex.js
9696

@@ -145,7 +145,7 @@ await knex.schema.alterTable('items', function (table) {
145145

146146
Use `vector_ip_ops` for inner product and `vector_cosine_ops` for cosine distance
147147

148-
See a [full example](tests/knex/index.test.mjs)
148+
See a [full example](tests/knex.test.mjs)
149149

150150
## Objection.js
151151

@@ -202,7 +202,7 @@ await knex.schema.alterTable('items', function (table) {
202202

203203
Use `vector_ip_ops` for inner product and `vector_cosine_ops` for cosine distance
204204

205-
See a [full example](tests/objection/index.test.mjs)
205+
See a [full example](tests/objection.test.mjs)
206206

207207
## Kysely
208208

@@ -259,7 +259,7 @@ await db.schema.createIndex('index_name')
259259

260260
Use `vector_ip_ops` for inner product and `vector_cosine_ops` for cosine distance
261261

262-
See a [full example](tests/kysely/index.test.mjs)
262+
See a [full example](tests/kysely.test.mjs)
263263

264264
## Sequelize
265265

@@ -321,7 +321,7 @@ const Item = sequelize.define('Item', ..., {
321321

322322
Use `vector_ip_ops` for inner product and `vector_cosine_ops` for cosine distance
323323

324-
See a [full example](tests/sequelize/index.test.mjs)
324+
See a [full example](tests/sequelize.test.mjs)
325325

326326
## pg-promise
327327

@@ -373,7 +373,7 @@ await db.none('CREATE INDEX ON items USING ivfflat (embedding vector_l2_ops) WIT
373373

374374
Use `vector_ip_ops` for inner product and `vector_cosine_ops` for cosine distance
375375

376-
See a [full example](tests/pg-promise/index.test.mjs)
376+
See a [full example](tests/pg-promise.test.mjs)
377377

378378
## Prisma
379379

@@ -423,7 +423,7 @@ const embedding = pgvector.toSql([1, 2, 3])
423423
const items = await prisma.$queryRaw`SELECT id, embedding::text FROM items ORDER BY embedding <-> ${embedding}::vector LIMIT 5`
424424
```
425425

426-
See a [full example](tests/prisma/index.test.mjs) (and the [schema](prisma/schema.prisma))
426+
See a [full example](tests/prisma.test.mjs) (and the [schema](prisma/schema.prisma))
427427

428428
## Postgres.js
429429

@@ -472,7 +472,7 @@ await sql`CREATE INDEX ON items USING ivfflat (embedding vector_l2_ops) WITH (li
472472

473473
Use `vector_ip_ops` for inner product and `vector_cosine_ops` for cosine distance
474474

475-
See a [full example](tests/postgres/index.test.mjs)
475+
See a [full example](tests/postgres.test.mjs)
476476

477477
## Slonik
478478

@@ -518,7 +518,7 @@ await pool.query(sql.unsafe`CREATE INDEX ON items USING ivfflat (embedding vecto
518518

519519
Use `vector_ip_ops` for inner product and `vector_cosine_ops` for cosine distance
520520

521-
See a [full example](tests/slonik/index.test.mjs)
521+
See a [full example](tests/slonik.test.mjs)
522522

523523
## TypeORM
524524

@@ -571,7 +571,7 @@ const items = await itemRepository
571571
.getMany();
572572
```
573573

574-
See a [full example](tests/typeorm/index.test.mjs)
574+
See a [full example](tests/typeorm.test.mjs)
575575

576576
## MikroORM
577577

@@ -615,7 +615,7 @@ const items = await em.createQueryBuilder(Item)
615615

616616
Also supports `maxInnerProduct`, `cosineDistance`, `l1Distance`, `hammingDistance`, and `jaccardDistance`
617617

618-
See a [full example](tests/mikro-orm/index.test.mjs)
618+
See a [full example](tests/mikro-orm.test.mjs)
619619

620620
## Drizzle ORM
621621

@@ -663,7 +663,7 @@ const allItems = await db.select()
663663

664664
Also supports `innerProduct`, `cosineDistance`, `l1Distance`, `hammingDistance`, and `jaccardDistance`
665665

666-
See a [full example](tests/drizzle-orm/index.test.mjs)
666+
See a [full example](tests/drizzle-orm.test.mjs)
667667

668668
## History
669669

0 commit comments

Comments
 (0)