index = GPTSimpleKeywordTableIndex(nodes=nodes, storage_context=storage_context, service_context=service_context, show_progress=True ) retriever = index.as_retriever() nodes = retriever.retrieve("formation")
import logging import sys logging.basicConfig(stream=sys.stdout, level=logging.INFO) logging.getLogger().addHandler(logging.StreamHandler(stream=sys.stdout))