pg.ddx.io pgvector/pgvector GitHub issues and pull requests
help / color / mirror / Atom feedFrom: knizhnik (@knizhnik) <noreply+knizhnik@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] PR #282: Hnsw iterator
Date: Sat, 30 Sep 2023 05:17:51 +0000
Message-ID: <gh-pgvector-pgvector-282-rc1341912714@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-282-rc1341132985@github.com>
References: <gh-pgvector-pgvector-282@github.com>
<gh-pgvector-pgvector-282-rc1341132985@github.com>
(on src/hnswutils.c:624)
I have tested your version of OpenAI dataset. Results are mostly the same:
```
_id | dist
------------------------------------------------+--------------------
<dbpedia:Paris> | 0.5149979680215692
<dbpedia:Economy_of_Paris> | 0.5322160352313228
<dbpedia:List_of_tourist_attractions_in_Paris> | 0.5556925144520639
<dbpedia:Capitale-Nationale> | 0.560634247353793
<dbpedia:Besançon> | 0.5639481182838457
<dbpedia:Captal> | 0.5744128256080486
<dbpedia:Palais_de_Justice,_Paris> | 0.5744524110550726
<dbpedia:Laon> | 0.5754102943098868
<dbpedia:Hôtel_de_Ville,_Paris> | 0.5779674934070351
<dbpedia:Timeline_of_Paris> | 0.5780753294768416
(10 rows)
Time: 4.046 ms
```
A little bit slower than of original implementation (3.5 ms) but returning same top 10 documents).
view thread (33+ messages) latest in thread
Message-ID: <gh-pgvector-pgvector-282-rc1341912714@github.com>
Permalink: ../gh-pgvector-pgvector-282-rc1341912714@github.com/
·
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox