Find answers from the community

Updated 7 months ago

I think the issue is more that when

At a glance

The community member is using PGVectorStore and is unable to directly get the nodes. They are using vec_store.query(VectorStoreQuery(similarity_top_k=100_000_000)).nodes to fetch all nodes, but the returned nodes have no embeddings despite the database showing the embeddings in the corresponding column.

In the comments, another community member suggests that the implementation is probably not fetching/attaching the embeddings, and that this approach makes responses faster and uses less memory. The original poster asks if there is a way to enable this, or if there are other vector stores that support this, as they are getting a NotImplementedError when using get_nodes() on PGVectorStore.

In the end, the original poster manually fetched the rows and created TextNodes.

I think the issue is more that when using PGVectorStore I cannot directly get the nodes so I'm using vec_store.query(VectorStoreQuery(similarity_top_k=100_000_000)).nodes to fetch all nodes. However these nodes returned have no embeddings despite the DB showing the embeddings in the corresponding column
L
X
5 comments
The implementation is probably not fetching/attaching the embeddings
Makes responses faster, uses less memory
@Logan M Is there a way to enable this, or are there other vector stores that support this? When using get_nodes() on PGVectorStore I am getting a NotImplementedError so I'm not sure what to do here
In the end I fetched the rows manually and created TextNodes
thats what I would have done tbh
Add a reply
Sign up and join the conversation on Discord