invoke-ai / invoke-ai/InvokeAI
[enhancement]: Add a "token counter" to the prompt section to show how many tokens are about to be used
- Dominant language
- Python
- Stars
- 28.2k
- Forks
- 3k
- Avg merge
- 6d 5h
- Merged PRs (30d)
- 19
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Contact Details
_No response_
### What should this feature add?
I'd like a token counter/word counter on the prompt input box. It should show approximately how many tokens would be sent to the model on generation.
Why? It's fairly known that many models lose coherence/adherence past a certain token count. By giving the user some helpful guardrails on the prompt, they will get better results.
### Alternatives
Having to paste it into another tool is annoying, but workable.
### Additional Content
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.