🌟 A Visual Studio Code extension that displays the count of OpenAI GPT-3 or CODEX tokens for the current document in the status bar. 🎯
The vscode-tokenizer-gpt3-codex
extension allows you to monitor the count of OpenAI tokens for the current document right in the status bar of Visual Studio Code. 🔍 This information is useful when you want to check the token count in your code for use with OpenAI services, such as GPT-3 or Codex.
- Open Visual Studio Code
- Press Ctrl+P (Windows/Linux) or Cmd+P (Mac) to open the Quick Open bar.
- Type
ext install vscode-tokenizer-gpt3-codex
and press enter.
To use the commands, you can:
- Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac) to open the Command Palette.
- Type any of the following commands and press enter :
Toggle Token Count
Change Tokenizer Type
Toggle Tokenizer Type
Contributions are always welcome! Feel free to open a pull request, report a bug, or suggest a new feature.
by Martin Hausleitner + GPT-4