正在加载视频...

视频加载失败

Just discovered OSX Automator: attach a keyboard shortcut to run a Python script on highlighted text, instantly swapping with LLM magic! Now proofing grammar on-demand with Mistral 8x7B via Hugging Face or Mistral 7B with ollama LocalLLM

84,121 次观看 • 2 年前 •via X (Twitter)

11 条评论

Radamés Ajna 的头像
Radamés Ajna2 年前

here is the code

xleven 的头像
xleven2 年前

@huggingface @ollama Nice work! There is an Ollama Extension in Raycast with same functions and smooth UX

Radamés Ajna 的头像
Radamés Ajna2 年前

@xlevenz @huggingface @ollama Cool! I need to check Raycast

Fred Bliss 的头像
Fred Bliss2 年前

@huggingface @ollama Just discovered this post after spending way too long trying to make Raycast extensions work for this same exact purpose. THANK YOU.

Radamés Ajna 的头像
Radamés Ajna2 年前

@huggingface @ollama 🤩 I haven't tried Raycast however, I turned to Automator because of its native access on the OSX. The only place it doesn't work as a keyboard shortcut is inside Gmail textbox. However, you can select the text, right-click -> services -> run automator

saurabh mehta 的头像
saurabh mehta2 年前

@huggingface @ollama Thanks a lot for sharing this automator. Can be much helpful in the flow of work. I followed the steps but when I trigger the shortcut, I get an error: error ‘response’ Any idea why this might be happening? Thanks a lot again.

Steven Natera 的头像
Steven Natera2 年前

@ollama @huggingface A word of caution. Automator is unreliable with some tasks.

IF 的头像
IF2 年前

@huggingface @ollama win version please :😭

Radamés Ajna 的头像
Radamés Ajna2 年前

@FramesImpact @huggingface @ollama maybe we could try using this ?

BLENDER SUSHI 🫶 X - 24/7 Blenderian 的头像
BLENDER SUSHI 🫶 X - 24/7 Blenderian2 年前

@huggingface @ollama I have been doing this with Pythonista keyboard and chatGPT! But good usage of Automator.p and Shortcuts.

Radamés Ajna 的头像
Radamés Ajna2 年前

@huggingface @ollama can you run the command from any app? Automator is nice

相关视频