The app crashes in below code with a keyerror:
File "/home/drawal/miniconda3/envs/xray/lib/python3.11/site-packages/dspy/primitives/module.py", line 75, in load_state
param.load_state(state[name])
This is because the load function expects the top level keys in the saved json file to look like this:
"predict_func": {
But the key entry in the json file looks like this instead:
"programs[1].predict_func": {
Deserializing a compiled ensemble program is not implemented?