alondmnt / joplin-plugin-jarvis

Joplin (note-taking) assistant running a very intelligent system (OpenAI/GPT, Hugging Face, Gemini, Llama, Universal Sentence Encoder, etc.)
GNU Affero General Public License v3.0
235 stars 22 forks source link

Azure OpenAI API support #9

Closed maskshell closed 8 months ago

maskshell commented 1 year ago

Can you provide support for Azure OpenAI API? Thanks!

alondmnt commented 1 year ago

I don't have access to Azure OpenAI (it requires an application form). But you can try the attached version and see if it works. In order to test it, change the settings:

  1. Enter your Azure OpenAI API key.
  2. Select the Chat Model "(online) Azure OpenAI (experimental)".
  3. In the advanced settings, set your Azure OpenAI text generation model ID and your Azure OpenAI API endpoint.

I'm curious to know if this blind attempt worked.

Please note that as I don't have access to Azure, I cannot guarantee to support this API if MS introduces any breaking changes.

joplin.plugin.alondmnt.jarvis.jpl.zip (Unzip the file and install the plugin manually from Settings-->Plugins-->Manage your plugins-->Install from file)

alondmnt commented 1 year ago

Also try Jarvis version ≥0.7.0 which should support Azure OpenAI (hasn't been tested yet).