imodelsX icon indicating copy to clipboard operation
imodelsX copied to clipboard

Azure OpenAI's endpoint may not exist anymore?

Open mvdoc opened this issue 1 year ago • 1 comments

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

mvdoc avatar Oct 22 '24 00:10 mvdoc

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

csinva avatar Oct 22 '24 01:10 csinva