-
-
Notifications
You must be signed in to change notification settings - Fork 132
Configurable OpenAI API Base URL #292
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
Conversation
Fix for enhancement issue rishikanthc#194 Added option to use custom OpenAI API base URL. If not configured the default OpenAI API base URL (https://api.openai.com/v1) will be used. Does not change current behavior of apiKey, i.e if apiKey is already configured it will not have to be re-entered when modifying base URL.
|
that's beautiful |
|
@eleaner This fix is in branch fix-#194 of an up to date fork of rishikanthc:main. To try this version you either clone this specific branch from my github with git: Or if using Github go to the specific branch of the fork and download it as a zip-file: Installing it, and everything else, except this fix, works exactly the same as if you would have downloaded/cloned rishikanthc:main. However, I would recommend you wait for an eventual merge so that you dont miss out on other fixes/enhancements coming to rishikanthc:main. |
|
Yes, my PR only addressed being able to use a custom OpenAI compatible endpoint for the summary and chat feature. I believe the option to use OpenAI API for the transcription is quite new. I did not really think about the transcription part. @rishikanthc, what's your opinion on this? |
|
downloading zip and then building worked but it does not seem to be detecting any models |
|
Yes, it's working for me. Make sure you use the correct base url and have a valid key for your service and that the api is OpenAI compatible. |
|
@EdrisT Yes you are right. Transcription using OpenAI API is new.. And yeah adding support for custom base domains for transcription should be easy too.. Would you be able to update your PR with this? If you don't have the time, I can merge this one for the time being and work on adding support for that later.. I don't see that as a priority right now.. |
|
@rishikanthc I'll try to find time to take a look at this. But this is not really a high priority for me either. I think if you merge this one, the other one can be a separate PR later on. |

Fix for enhancement issue #194
Added option to use custom OpenAI API base URL.
If not configured the default OpenAI API base URL (https://api.openai.com/v1) will be used.
Does not change current behavior of apiKey, i.e if apiKey is already configured it will not have to be re-entered when modifying base URL.