pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: Greatz08 (@Greatz08) <noreply+Greatz08@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #864: [Question] Is there any forked or modified version of pgvector which does support higher embeddings dimension (>2000) ?
Date: Sun, 29 Jun 2025 01:15:08 +0000
Message-ID: <gh-pgvector-pgvector-864-c3016201693@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-864@github.com>
References: <gh-pgvector-pgvector-864@github.com>

@binarycleric it is not retrieving better documents (i am new to all this vector and embeddings). I think vector database is just for storing vector embeddings right ? as far as i have researched it depends on embeddings model to filter out relevant chunks according to user's query from vector db and give it back to our main llm as context, so i think qwen3 embeddings model should be responsible for bad selection or pg-vector has a role to play in this ? 

When i tested with self-hosted qdrant, it was able to find better relevant chunks of data for answering, so i thought it has something to do with dimensions ?  

Btw i am running on my own hardware with rtx 4060, and i haven't made any extra configurations, as i am new in this space and dont know alot of things about it (so trying to understand more from professional devs like you all :-))

https://docs.openwebui.com/getting-started/env-configuration/#pgvector

![Image](https://github.com/user-attachments/assets/6eefe5cc-3d93-44b1-84a9-8d09daae435e)


I have just self-hosted openwebui with pg-vector  env variables, so whenever i create my knowledge base by uploading my notes, they will be vectorized with qwen3 embeddings and stored in database automatically. Btw openwebui wont let me set more than 2000 value for PGVECTOR_INITIALIZE_MAX_VECTOR_LENGTH, so i guess pg-vector that they have setup behind the scene is using the technique/configuration which limits to 2000 and they haven't provide any env variable to change to your mentioned technique `halfvec`) .   

I did verify that chunks that were created by my setup were off 2000 dimension through this sql query :

```
SELECT vector_dims(vector)
FROM document_chunk
LIMIT 1;
```

view thread (5+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-864-c3016201693@github.com>
Permalink:  ../gh-pgvector-pgvector-864-c3016201693@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