data_query_engine = PandasQueryEngine(df=data_df, verbose=True, instruction_str=instruction_str, llm=llm)
from llama_index.core import Settings Settings.llm = llm
Settings.llm = llm
from llama_index.core.llms.ollama import Ollama
pip install llama-index-llms-ollama