Parent & Child Vector

Hi,

I’m developing something and would like to explore the usage of parent & child vectors but I cant find a lot of information or examples on this. Does anybody have some info?

Also, for each vector, can I store two sets of metadata texts? For instance an (a) extract of text and (b) a summary of the entire document?

Best regards,
Martin

I’m still coming up to speed on the performance aspects of pinecone, but two possible approaches would be to use namespaces on your index (namespace=“parent”, namespace=“child”):

  xc = index.query(query, top_k=4, include_metadata=True, namespace='parent')

or possibly to use a metadata filter to reduce the children if that is possible.

1 Like