joplin-plugin-jarvis icon indicating copy to clipboard operation
joplin-plugin-jarvis copied to clipboard

Azure OpenAI support?

Open mabahj opened this issue 6 months ago • 3 comments

Ref #9 where it seems like Azure OpenAI should work but maybe a bit untested.

I am very intrigued by your project, so I am trying to make it work with Azure. However, I am getting some error messages and I am not quite sure how to set it up. I am trying Jarvis: Chat for now. Are you able to give me some hints?

I've tried these two alternatives:

Setting Value
Model: OpenAI API Key my-key-xyz-123
Chat: Model (online/offline) OpenAI or compatible: custom model
Chat: Custom model API endpoint https://xxxxx.openai.azure.com
Chat: OpenAI (or compatible) custom model ID gpt-4o (also tried gpt-4)
Error message from Jarvis Error message: Resource not found
Setting Value
Model: OpenAI API Key my-key-xyz-123
Chat: Model (online/offline) OpenAI or compatible: custom model
Chat: Custom model API endpoint xxxxx.openai.azure.com
Chat: OpenAI (or compatible) custom model ID gpt-4o (also tried gpt-4)
Error message from Jarvis Request Timeout (60 sec)
(Note that this error appears after 1-2 seconds.)

I have a small python script I've used to verify my Azure OpenAI endpoint ID, API key and model names.

mabahj avatar Aug 01 '24 14:08 mabahj