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

Smart Chat context window is only 4 notes #728

Closed
etikka opened this issue Aug 17, 2024 · 2 comments
Closed

Smart Chat context window is only 4 notes #728

etikka opened this issue Aug 17, 2024 · 2 comments

Comments

@etikka
Copy link

etikka commented Aug 17, 2024

Thank you for the amazing plugin! I just started using it and it blows my mind.

I have an issue when I am asking questions with Smart Chat. If I understand correctly, the context provided to the LLM is 4 files, at least when using GPT-4o. I have text related to different topics spread across many more files.

Is there a hard limit to provide 4 files at maximum to the LLM? Is it possible to configure the limit?

If not, would it be possible to grow the amount of files that are provided to the LLM? Especially now that the newer models support larger context windows and are more affordable.

@brianpetro
Copy link
Owner

Hi @etikka

Thanks for trying Smart Connections 😊

I just reviewed the code and noticed a bug (fixed in brianpetro/jsbrains@128efcc) that was erroneously limiting the number of returned results to be less than the arbitrarily imposed limit of 10.

The limit will be improved to allow the use of more context. I have a significant overhaul in the works for the Smart Chat (no ETA), and this should be one of the improvements made then.

The bugfix was shipped in v2.1.90. Thanks for bringing this to my attention 🌴

@etikka
Copy link
Author

etikka commented Aug 19, 2024

Thank you for the quick reply and fix! The improvements sound good.
You got a new supporter of me!

@etikka etikka closed this as completed Aug 19, 2024
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