The endpoint https://healthcare-ai.openai.azure.com/ doesn't seem to exist anymore, so the code fails when using GPT-4 models.
I had to make local changes and use OpenAI's endpoint, but I'm not sure how you want to handle this, so I haven't sent a PR.
Ah true, thanks for pointing this out -- I'll maybe set up an option for users to pass in their own azure/openai endpoint instead of using this older one
The endpoint https://healthcare-ai.openai.azure.com/ doesn't seem to exist anymore, so the code fails when using GPT-4 models. I had to make local changes and use OpenAI's endpoint, but I'm not sure how you want to handle this, so I haven't sent a PR.
https://github.com/csinva/imodelsX/blob/master/imodelsx/llm.py#L124-L128