mindcraft
mindcraft copied to clipboard
Add support for GPT models in Azure AI Studio
- Created a sample azure.json profile
- Created an AzureGPT class inheriting from the GPT class
- 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
tested locally with azure openai gpt4o credentials. working as expected.
Fixed minor conflict with import statements
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