OpenAI-Unity
OpenAI-Unity copied to clipboard
How to solve GPT-4 turbo (gpt-4-1106-preview) error
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.