问题:cannot import name ‘LLMPredictor’ from ‘llama_index.llms’ (unknown location)
通过查找
https://docs.llamaindex.ai/en/stable/changes/deprecated_terms/?h=llmpredict#llmpredictor
得知:
https://github.com/run-llama/llama_index/issues/11097
这个链接里还解决了KnowledgeGraphIndex, LLMPredictor and ServiceContext的import error