Find answers from the community

Updated 4 months ago

Customize chunking

At a glance
Hi! I'm using PropertyGraphIndex and want to customize the chunking process. So the input would not be a document, but a dictionary of chunks instead and I want all the Chunk Nodes to be from this dictionary. However, I still want to use other functions of PropertyGraphIndex to extract EntityNodes and relationships with LLM, query, retrievals etc. Is that possible and how should I do that?
I looked at some directions with customizing NodeParser, but it seems that it will require me to extract EntityNodes on my own, which I don't want to.
p
L
3 comments
@Logan M @WhiteFang_Jr What do you think?
I'm not sure I understand. But you can create TextNodes yourself and pass them in
PropertyGraphIndex(nodes=nodes, ...)
Add a reply
Sign up and join the conversation on Discord