Chat effortlessly, execute commands, and interpret code with Llama3, Phi3, and more - your local AI assistant. Enjoy seamless interaction while ensuring ultimate privacy
This pull request adds a new feature to the magic_commands.py file that allows users to calculate the number of tokens in a given prompt. The functionality is implemented using the Tiktoken library and includes a new command "/tokens [prompt]". This feature enhances the usability of the chatbot by providing users with information about the token count in their prompts.
This pull request adds a new feature to the magic_commands.py file that allows users to calculate the number of tokens in a given prompt. The functionality is implemented using the Tiktoken library and includes a new command "/tokens [prompt]". This feature enhances the usability of the chatbot by providing users with information about the token count in their prompts.
refer #189