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 do you handle tokens limit? #1

Open
jsifalda opened this issue Jun 10, 2023 · 2 comments
Open

How do you handle tokens limit? #1

jsifalda opened this issue Jun 10, 2023 · 2 comments

Comments

@jsifalda
Copy link

jsifalda commented Jun 10, 2023

Hello, I am limited by size of the data the API accepts, as my notes are quite big... how do I go around it?
also, how do I change model to gtp-4?

thanks in advance

@jsifalda jsifalda changed the title How do you handle tokens? How do you handle tokens limit? Jun 10, 2023
@irbull
Copy link
Owner

irbull commented Jun 10, 2023

There is a settings for max number of generated tokens, but nothing for how many tokens to pass during the system prompt. If you have ideas there, let me know.

Feel free to file an issue to configure the model. Right now it's hard coded to 3.5-turbo.

@Cry0nicS
Copy link

Cry0nicS commented Aug 18, 2023

Run into a similar issue.

One of the problems that I see is that I run a prompt like

Prompt: Write me a 2-3 paragraph summary of the my activity this week, in the first person. The work completed is below the '# Important Notes' section.

However, what is being passed to ChatGPT is not just the text under # Important Notes, but rather all the text in all 5 files from the current week.
And it's very likely that other sections (like meetings) have much more text that shouldn't go to chatGPT at all.

Now the question is: is it possible to only send the texts from a specific section?

Otherwise, I guess the only solution is to be able to choose ChatGPT 4 (assuming the user as a license)

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

3 participants