OpenAI-API-dotnet icon indicating copy to clipboard operation
OpenAI-API-dotnet copied to clipboard

- nevermind - can delete

Open gpt4thewin opened this issue 1 year ago • 5 comments

nevermind

gpt4thewin avatar Feb 03 '24 18:02 gpt4thewin

Currently you can change the ApiUrlFormat but I probably need to add better documentation for that and maybe a constructor option, since alternative OpenAI-compatible endpoints weren't really a thing when I first put this together.

OkGoDoIt avatar Feb 03 '24 19:02 OkGoDoIt

@gpt4thewin I've already seen you on OpenAI-DotNet, you seem to be looking for about the same thing I am. I am looking for a c# nugget package with which I can access the openai api, but with an api on a lokal ip.

You write "nevermind". Does that mean you have found a solution? Would you share it with me?


@OkGoDoIt How exactly can I customize ApiUrlFormat? Is it possible to change the api URL to a local ip in this package?

XHyperDEVX avatar Feb 21 '24 17:02 XHyperDEVX

To be honest I posted on the wrong git ! Hence why I "deleted" my issue. That's still a worthy idea I guess. No I haven't found a solution, I haven't tried this library (yet)

gpt4thewin avatar Feb 21 '24 18:02 gpt4thewin

@gpt4thewin can't we just create a fork of "OpenAI-DotNet" and integrate your suggested changes here there?

XHyperDEVX avatar Feb 21 '24 21:02 XHyperDEVX

Sure you can do it... if that changes ever helps and isn't too specific to the other repo.

gpt4thewin avatar Feb 21 '24 22:02 gpt4thewin