-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Allow the use a fully custom base address #233
Conversation
Use built in OpenAI-DotNet-Proxy |
|
Let's open a discussion about it first. |
Let me develop: Case 1 Say I want to use my local proxy (made with nginx, for caching). It does not receive connections with ssl/https. Why should it ? I will do that:
But it will (obviously) raise this: Case 2 |
People want to use local models like this? |
updated apiKey prefix checking in #234 |
As far as I understand this change, this still forces you to use https. Correct ? |
Why wouldn't you use HTTPS? |
Say I want to use my local proxy (made with nginx, for caching). It does not receive connections with ssl/https. Why should it ? |
It's just good practice. Even for the local loopback |
I also designed this library to work specifically with open AI and open AI for azure. I will not be compromising security for this edge case when a local LLM offering from open AI does not exist. |
I've added an extra constructor to specify a custom base address.
Useful for :