poetry install
poetry export --format=requirements.txt --output=requirements.txt --without-hashes
pyright spellchecker_llm/script.py
Activate python environment
poetry shell
Running the project
(spellchecker-llm-py3.11) ➜ spellchecker_llm git:(main) ✗ python spellchecker_llm/script.py
INFO:__main__:Spell Checker Running ...
INFO:__main__:F9 key pressed
INFO:__main__:Fixing selected text using Ollama
INFO:__main__:Prompt = Fix all typos, punctuation and casing in this text, but preserve all new line characters:
- Leave the project running in the terminal
- Select a text (across any app of your OS) and you would like to correct
- Type F9 (e.g. fn + F9 on mac) to trigger. Correction, have fun.