/vscode-tokenizer-gpt3-codex

🌟 A Visual Studio Code extension that displays the count of OpenAI GPT-3 tokens for the current document in the status bar. 🎯

Primary LanguageTypeScript

GPT-3 Token Counter Statusbar

🚀 GPT-3 & Codex Tokenizer Counter Statusbar 🎉

🌟 A Visual Studio Code extension that displays the count of OpenAI GPT-3 or CODEX tokens for the current document in the status bar. 🎯

📚 Description

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.

🛠️ Installation

  1. Open Visual Studio Code
  2. Press Ctrl+P (Windows/Linux) or Cmd+P (Mac) to open the Quick Open bar.
  3. Type ext install vscode-tokenizer-gpt3-codex and press enter.

📖 Usage

To use the commands, you can:

  1. Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac) to open the Command Palette.
  2. Type any of the following commands and press enter :
    • Toggle Token Count
    • Change Tokenizer Type
    • Toggle Tokenizer Type

👥 Contributing

Contributions are always welcome! Feel free to open a pull request, report a bug, or suggest a new feature.

by Martin Hausleitner + GPT-4