ValueError: shapes (384,) and (768,) not aligned: 384 (dim 0) != 768 (dim 0)
service_context
globally once and then run!from llama_index import set_global_service_context # Define the service context service_context = ServiceContext.from_defaults( llm=llm, embed_model=embed_model ) set_global_service_context(service_context)
get_query_engine()
, I'm stopping everything and running get_query_engine_from_cache()
to load that indexnew_index = load_index_from_storage(storage_context, service_context=service_context)