index.storage_context.persist()
, and I'm loading it with load_index_from_storage
. Is there a way to change the ServiceContext
on that? As I'd like to use a different LLM after indexing. Thanks!load_index_from_storage(..., service_context=service_context)
service_context = ServiceContext.from_defaults(llm=OpenAI(model="gpt-4", temperature=0.5, system_prompt="My prompt"))