Closed tshu-w closed 1 year ago
Looks good, thank you!
It will be good to list some supported hosts/proxies in the README. Do you know of any? I haven't used any except openai.com so far.
Could you add these two things to the README:
It will be good to list some supported hosts/proxies in the README. Do you know of any? I haven't used any except openai.com so far.
I'm not sure if it's appropriate to list in the README,
There are some projects on GitHub that convert Azure API to OpenAI API format (deployed by yourself, using Azure API KEY):
There are also projects that reverse proxy OpenAI API (deployed by yourself, using the OpenAI API KEY):
There are also services that proxy OpenAI API for unsupported countries or regions (no need to deploy, using a third-party paid KEY):
Ah, okay, I misunderstood what the hostname is for. I assumed you could use it with the azure OpenAI API directly, for instance.
In that case please just add the mention of the breaking change to the top of the Readme and we can merge this.
Ah, okay, I misunderstood what the hostname is for. I assumed you could use it with the azure OpenAI API directly, for instance.
In that case please just add the mention of the breaking change to the top of the Readme and we can merge this.
I have submitted a new commit.
Cheers @tshu-w
This is a similar PR to https://github.com/karthink/gptel/pull/49. I submitted a new PR because:
basePath
&Path
as the OpenAI API, i.e. "/v1/chat/completions", so we only need to make the Host configurable.