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

How to solve GPT-4 turbo (gpt-4-1106-preview) error

Open kwan3854 opened this issue 7 months ago • 4 comments

edit DataTypes.cs

    public struct CreateChatCompletionResponse : IResponse
    {
        public ApiError Error { get; set; }
        public string Model { get; set; }
        public string Id { get; set; }
        public string Object { get; set; }
        public long Created { get; set; }
        public List<ChatChoice> Choices { get; set; }
        public Usage Usage { get; set; }
        // Add these fields
        public string SystemFingerprint { get; set; }
    }

now you can use gpt-4-1106-preview model.

kwan3854 avatar Nov 29 '23 21:11 kwan3854