-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for using Azure OpenAI API Endpoint #14
Comments
Would you be able and willing to test such implementation? Do you have a summary of important differences from OpenAI API on hand?
Which ones, for example? |
More than willing and happy to help. I'm not a developer, but have been going down the path of building out a functional solution for using ChatGPT3.5 with my own data pulled from Azure Blob Storage. As a full disclosure I work for MSFT as an Azure CSA, so that is the reason I'm looking at this solution vs native OpenAI API. The biggest changes will be the URL API Endpoint which is variable based on the Azure OpenAI deployment along with the following: I've gotten things working via Python, but I was using the OpenAI Libraries (via import openai):
I was thinking we could add some additional Game Settings to settings.js:
|
Is there a reason you didn't use the built in OpenAI Libraries for javascript? |
@BenTheCloudGuy could you comment (and maybe check) if the implementation like in #15 is sufficient? Regarding the |
Sorry - work and life got crazy busy as I'm prepping everything for GenCon in about a month and we are end of Fiscal Year at work. I'll get this tested out asap and reply back. |
I would love to see the option to pass in specific API Endpoints so that we can leverage Azure OpenAI API along with other implementations.
The text was updated successfully, but these errors were encountered: