tembo-io / pg_vectorize

The simplest way to build AI workloads on Postgres
https://tembo.io/pg_vectorize/
739 stars 33 forks source link

tests: fix typo in embeddings integration tests #173

Closed palash25 closed 2 weeks ago

palash25 commented 3 weeks ago

The assert message in each of the integration test wrongly mentioned embedding dimension as its length. This commit fixes it.

Hi 👋🏽 i found this while working on a bounty issue, it was a bit confusing since both the assert messages mentioned two different things as the length. According to all the LLM docs I went through the thing being checked here is the dimension of the embedding. Hope I understood it correctly, otherwise feel free to close the PR if it was intended to be mentioned as length