I created a lambda function on AWS which was working fine.
At some point I placed all my requirements (including openai) in a layer.
I’m getting the following error:
cannot import name ‘model_json_schema’ from ‘openai._compat’
I tried many different things like using specific platform wheels, but nothing seems to work.
Any ideas?