OpenAI-Unity icon indicating copy to clipboard operation
OpenAI-Unity copied to clipboard

An unofficial OpenAI Unity Package that aims to help you use OpenAI API directly in Unity Game engine.

Results 32 OpenAI-Unity issues
Sort by recently updated
recently updated
newest added

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...

![Снимок экрана 2024-03-14 205601](https://github.com/srcnalt/OpenAI-Unity/assets/26836254/d51a438b-aaf9-4463-b043-12dc7d71955f) 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.