lanterndata / lantern

PostgreSQL vector database extension for building AI applications
https://lantern.dev
GNU Affero General Public License v3.0
790 stars 57 forks source link

Fix test runner for OS X, fix checking pgvector in tests #119

Closed var77 closed 1 year ago

var77 commented 1 year ago

Changed grep -P to perl as -P option is no longer supported on OS X. reference

Changed the database name when checking if pgvector is installed to postgres, as now it defaults to current os username and it may fail.

Removed timing from explains, removed ids from select as if 2 vectors would have the same distance the order might be different based on machine and test might fail