storage_context = StorageContext.from_defaults(persist_dir=f"{product_code}_llama")
index = load_index_from_storage(storage_context)
engine = index.as_chat_engine(
chat_mode="context",
verbose=True,
system_prompt=prompt,
)