OkGoDoIt / OpenAI-API-dotnet

An unofficial C#/.NET SDK for accessing the OpenAI GPT-3 API
https://www.nuget.org/packages/OpenAI/
Other
1.84k stars 427 forks source link

How to Use this tool in Unity2022 2.10 #136

Open scant2098 opened 1 year ago

scant2098 commented 1 year ago

I want to use this plugin in Unity2022.2.10, but when I configure all the environments, I can't establish a connection with the OpenAI server, but when I use the c# console project of vs2022, I can connect normally. The .net version I use in unity2022 is .net standard2.1, the console error is: "System.Net.Http.HttpRequestException: An error occurred while sending the request ---> System.Net.WebException: Error: ConnectFailure (because the connection party did not A host that replied correctly or connected did not respond, and the connection attempt failed."

StephenHodgson commented 10 months ago

https://github.com/RageAgainstThePixel/com.openai.unity