Find answers from the community

Updated 8 months ago

I'm thinking about customizing the

I'm thinking about customizing the metadata_template and text_template parameters of Document / TextNode in order to customize the generated prompt sent to the LLM. I noticed it was written to the metadata_ field in the DB, does it mean it can't be dynamic? Ideally, I would like to be able to change the prompt context_str easily without re-indexing everything
L
1 comment
Its attached to the node yes, but could be modified on the fly i.e. after retrieval in a node-postprocessor
Add a reply
Sign up and join the conversation on Discord