from llama_index.core import get_response_synthesizer from llama_index.core.llms import MockLLM from llama_index.core.schema import NodeWithScore, TextNode nodes = [ NodeWithScore( node=TextNode(text="Refund requests are handled by the support portal."), score=1.0, ) ]