mindcraft icon indicating copy to clipboard operation
mindcraft copied to clipboard

Add support for GPT models in Azure AI Studio

Open Zgrill2 opened this issue 10 months ago • 3 comments

  1. Created a sample azure.json profile
  2. Created an AzureGPT class inheriting from the GPT class
  3. Updated prompter.js to include the azure api in the else if chain

Tested using gpt-4o and text-embedding-ada-002 on an Azure deployment

Zgrill2 avatar Feb 06 '25 05:02 Zgrill2

image Pavan has tested and confirmed working. Please let me know if there is anything else you'd like done to get this merge approved.

Zgrill2 avatar Feb 06 '25 22:02 Zgrill2

tested locally with azure openai gpt4o credentials. working as expected.

pavankavade avatar Feb 07 '25 03:02 pavankavade

Fixed minor conflict with import statements

Zgrill2 avatar Feb 21 '25 03:02 Zgrill2

I know it has been a while, but if you would like to migrate this PR to Mindcraft-CE, I would be happy to merge this PR! https://github.com/mindcraft-ce/mindcraft-ce

Sweaterdog avatar Jul 09 '25 04:07 Sweaterdog