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 select which characters are sent to the API ? #10

Open
laurentbarbier opened this issue May 4, 2023 · 1 comment
Open

How to select which characters are sent to the API ? #10

laurentbarbier opened this issue May 4, 2023 · 1 comment

Comments

@laurentbarbier
Copy link

Hello and thanks again for the great work,

Is the whole file, the whole last paragraph, the whole last sentence transmitted to ChatGPT to generate the completion ?
Would it be possible to select what is sent to the API by selecting it, using another way ?

Best regards

@rizerphe
Copy link
Owner

rizerphe commented May 4, 2023

Thank you! For now, it sends the whole file up to your cursor. I do plan to make it more flexible and customizable in the future, though. One of the main reasons for why I should is that sometimes the whole file is too much for the language model - completions might stop working entirely at the bottom of a long note, for example.

@rizerphe rizerphe closed this as completed May 4, 2023
@rizerphe rizerphe reopened this May 4, 2023
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