Find answers from the community

Home
Members
Kami Tzayig
K
Kami Tzayig
Offline, last seen last week
Joined January 13, 2025
Hey

There are ways to manipulate the docs in an index and then persist them. But I didn't find a way to update certain nodes.

For example using a node ID update it's metadata and persist back to the vectorstoreDB
1 comment
L
Hola:LlamaIndex:

How can I use huggingface reranker models for the node postprocessing?

Should I create a custom implementation or is there something ready out of the box like the embedding model where you just insert the model name?
2 comments
L
K
Hey 👋
In QuestionsAnsweredExtractor I want to add a custom prompt template and have additional context variables to this template

Under
Plain Text
_aextract_questions_from_node()


It calls self.llm.apredict() with the context variables num_questions and context_str.

Is it possible to add more variables dynamically?