Skip to content

Latest commit

 

History

History
113 lines (68 loc) · 4.16 KB

README.md

File metadata and controls

113 lines (68 loc) · 4.16 KB

Alfred Ollama

Dehydrated Ollama Command Line Interface interface to

  1. Manage your local language models
  2. Perform local inference through Alfred

Requirements

The Ollama macOS application, at least one installed model for chat or other inference tasks, and the Xcode Command Line Tools.1 To modify or add custom inference actions to the workflow's universal action, install pkl, edit the configuration file and build the inference tasks.

Usage

Manage your local models or chat with them via the ollama keyword. Alternatively, define Hotkeys for quick access.

  • Continue conversation.
  • Start or quit Ollama.
  • View Ollama version.

Local Models

  • Open the model page.
  • Quicklook preview the model page.
  • C Copy the model name.
  • Remove the model.
  • Set as preferred model for inference.

Loaded Models

  • Unload the model.

New Models

Type to match models based on your query.

  • Open the model page.
  • Quicklook preview the model page.
  • L View the unabridged model description as large type.
  • C Copy the model name.
  • Pull model:latest from registry.
  • (or tap ) Inspect available versions of the model.

Model Versions

Type to match versions based on your query.

  • Open the model page.
  • Quicklook preview the model page.
  • C Copy the model name.
  • Pull model:version from registry.

Pulling Models

  • Cancel the download.

Local Chat

Chat History

  • Continue archived conversation.
  • View modification date.
  • Reveal the chat file in Finder.
  • L Inspect the unabridged preview as Large Type.
  • Send conversation to the trash.

Inference Actions

Inference Actions provide a suite of language tools for text generation and transformation. These tools enable summarization, clarification, concise writing, and tone adjustment for selected text. They can also correct spelling, expand and paraphrase text, follow instructions, answer questions, and improve text in other ways.

Access a list of all available actions via the Universal Action or by setting the Hotkey trigger.

  • Stream the result to the frontmost application.

Important

Make sure you only use this if the frontmost UI Element accepts text.
There are no security checks in place at the moment.


Links:

Footnotes

Footnotes

  1. xcode-select --install