Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kwan3854 opened this issue Nov 29, 2023 · 4 comments
Open

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

kwan3854 opened this issue Nov 29, 2023 · 4 comments

Comments

@kwan3854
Copy link

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.

@HUIMANDY
Copy link

Thank you! This is very helpful.

@jhinpan
Copy link

jhinpan commented Nov 30, 2023

Thank you for the advice, but I got a question that since the file DataType.cs is part of the Unity Package Cache. And any changes made will be lost. Does that mean each time we open Unity, we need to make this change?

@kwan3854
Copy link
Author

Thank you for the advice, but I got a question that since the file DataType.cs is part of the Unity Package Cache. And any changes made will be lost. Does that mean each time we open Unity, we need to make this change?

Indeed, you're correct. Since DataType.cs is part of the Unity Package Cache, any modifications you make directly to the file in the cache could be overwritten. I have submitted a pull request with the necessary changes. It would be best to wait for the merge and subsequent update of the library before proceeding.

@Swami39
Copy link

Swami39 commented Nov 30, 2023

HOW TO EDIT DATATYPES.CS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants