Skip to content

Files

Latest commit

e8e6d5b Β· Oct 30, 2024

History

History

Folders and files

Name
Last commit message
Last commit date

parent directory

..
Oct 30, 2024
Apr 18, 2023
Apr 26, 2023
Apr 26, 2023
Apr 18, 2023
Oct 30, 2024

LaunchBar Action: Ask ChatGPT

β†’ Click here to view a list of all my actions.

This action allows you to send requests to ChatGPT. There are two main ways to use it:

1: Chat away

Press space to start or continue a "conversation" with ChatGPT. Type your question or command, and then select one of the options presented to you, such as starting a new chat or continuing the current conversation.

2: Use predefined prompts

Press enter to access a menu of predefined prompts. You can customize them in the settings to suit your needs. This is convenient for frequently used tasks.

What’s next?

No need to wait while the answer is generated. All this is happening in the background without affecting the LaunchBar interface.

The chat will open as a simple markdown file when done.

Additionally the answer is automatically copied to the clipboard.

This action works very well with iA Writer in preview mode. Marked is also a great option since it is specifically designed to preview markdown files.

Additional Features

  • To view recent chats, select the action in LaunchBar and press command + enter
  • Use alternative personas with command + enter when you are done entering text.
  • Optionally compare input and answer in BBEdit instead of creating a chat by setting useCompare to true in a custom prompt.

Settings

Access the settings with option + enter. Here you can:

  • Choose a default persona
  • Choose between models
  • Choose an editor to display the resulting chats
  • Set or reset your API key
  • Update, reset or customize prompts and personas

Customize prompts and personas

You can customize and add as many prompts and personas as you want, and choose an emoji as the icon to identify them easily.

{
  "prompts": [
    {
      "icon": "✍🏻",
      "argument": "The instruction passed to the model",
      "title": "Your unique title",
      "addURL": false,
      "addClipboard": true,
      "description": "A description to display as the subtitle",
      "persona": "The persona for this task (optional)",
      "useCompare": true
    }
  ],
  "personas": [
    {
      "title": "Assistant",
      "icon": "weasel",
      "description": "This is the default persona",
      "persona": "You are a helpful assistant."
    }
  ]
}

Requirements

To use this action, you need an API key from OpenAI and good judgement on how to use a tool like this πŸ˜‰.

Miscellaneous

Download

Download LaunchBar Action: Ask ChatGPT (powered by DownGit)

Updates

This action integrates with Action Updates by @prenagha. You can find the latest version in his Github repository. For more information and a signed version of Action Updates visit his website.