OpenAI-Unity
OpenAI-Unity copied to clipboard
An unofficial OpenAI Unity Package that aims to help you use OpenAI API directly in Unity Game engine.
Hey guys, Did anyone tried the project in VR? For me everything works fine from the Unity editor but not on the Meta Quest build. I dit a test with...
See [tool_choice](https://platform.openai.com/docs/api-reference/runs/createThreadAndRun#runs-createthreadandrun-tool_choice).
JsonSerializationException: No JSON content found and type 'OpenAI.CreateAudioResponse' is not nullable. Path '', line 0, position 0. Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) (at :0) Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type...
The request on `CreateChatCompletionAsync` is complete before all the text is received. I think OpenAi changed something on the API.
when I received the messages by stream or chunks sometimes I received the last message incomplete, the reason was that the request.isDone() was set to false and finished receiving messages...
I cannot import the package into Unity. Steps to reproduce the behavior: 1. When importing the package in Unity I get the Error: _[Package Manager Window] Error adding package: https://github.com/srcnalt/OpenAI-Unity.git....
**Describe the bug** This is not working in the Unity android build when i try to do speech to text it records the audio transcipting it but does not return...
 I have no idea what this is. Can anyone help? I didn't change anything in the code. Purely empty project, imported openAI package, added my API...
Supports specifying the response return format, either JSON or text. Address [#105](https://github.com/srcnalt/OpenAI-Unity/issues/105) See [OpenAI API document of response_format parameter](https://platform.openai.com/docs/api-reference/chat/create#chat-create-response_format) GPT-4-turbo and GPT-3.5-turbo-1106 support this parameter. Specifying the return result as...
We need support for the new JSON mode in OAI recent update.