OkGoDoIt / OpenAI-API-dotnet

An unofficial C#/.NET SDK for accessing the OpenAI GPT-3 API

Home Page:https://www.nuget.org/packages/OpenAI/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

- nevermind - can delete

gpt4thewin opened this issue · comments

nevermind

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.

@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?

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
can't we just create a fork of "OpenAI-DotNet" and integrate your suggested changes here there?

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