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

ChatGPT repies with How Can I help you today? #26

Open
girls-whocode opened this issue Apr 11, 2023 · 4 comments
Open

ChatGPT repies with How Can I help you today? #26

girls-whocode opened this issue Apr 11, 2023 · 4 comments

Comments

@girls-whocode
Copy link

I have a paid account, I am using GPT 3.5 turbo, I have installed the latest version from the MarketPlace. If I do small amounts of code such as:

    getAllData: async function () {
      this.isLoading = true
      let data = await import('@/assets/data/data.json')
      this.billsTable(data)
      this.widgets(data)
      this.isLoading = false
    },

It works fine, although if I have it write a document for the entire code, it just returns:

Hello! How can I assist you today?

Is there a line or character limit? Is there a way to remove this limit?

@timkmecl
Copy link
Owner

Hi, there is a 4000 token limit, which is about 3000 words, probably a bit less for code. So if the request is longer than that, it doesn't get through. This is set by OpenAI so there is no way to get around it.

I will probably add some warning about that to the extension in the future.

@girls-whocode
Copy link
Author

That makes sense, thank you for letting me know

@girls-whocode
Copy link
Author

girls-whocode commented Apr 16, 2023

Do you minimize the code when submitting? Like removing comments, spaces, tabs, etc... I guess with some JavaScript, if the line doesn't have a ; at the end, that would probably have to be added maybe I just answered my own question

@timkmecl
Copy link
Owner

No, the code is not minimised. It would probably save some tokens and allow for longer inputs, but since tokens are more related to words than to characters the difference would not be huge, moreover the code inside the response from the AI would then also be minimised which is not really something we would want.

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

2 participants