hiltscribe.blogg.se

Open text workflow
Open text workflow








  1. #Open text workflow how to
  2. #Open text workflow code
  3. #Open text workflow mac

See OpenAI's description for this example. Idea-related Brainstormīrainstorm some ideas about a given text. Grammar CorrectionĬorrect sentences into standard English. Translate text in the language specified in the variable second_language to the language specified in the variable first_language. Translate text in the language specified in the variable first_language to the language specified in the second_language. Japanese), the query may result in a more or less inaccurate response. Note: If the value of first_language is not English (e.g. You can ask questions in the language set to the variable first_language. The user-specified values to the following user settings are ignored when running these commands: These are features mainly based on OpenAI's example usage of its text-completion API.

#Open text workflow code

Provide program code in Python and example usage. Specify the purpose of the program, its function, the language and technology to be used, etc.Ĭreate a command line program that takes an English sentence and returns syntactically parsed output. GPT will generate program code and example output according to the text entered. Program Code Generation/Completion Write Program Code The additional text is added after the initial text and the resulting text is used as the query. The additional text is added before the initial text, and the resulting text is used as the query.Īfter the initial text is entered, the user is prompted for additional text.

open text workflow

The input text is directly sent as a prompt to the OpenAI text-completion API.Īfter the initial text is entered, the user is prompted for additional text. The original input text can be prepended or postfixed with instructional text to compose a complex query to be given to the API. The input text is used as a prompt to the OpenAI text-completion API. Method 2: set up a custom hotkey to Open web interface Method 1: Alfred textbox → keyword ( openai-textbox) You can open a web interface (see the figure below). Method 2: Alfred textbox → input query text → select fallback search ( OpenAI Query).Method 1: Alfred textbox → keyword ( openai) → tab → input query text.You can enter a query text directly into Alfred textbox: Method 2: set up a custom hotkey to Send selected text to OpenAI.Method 1: select text → universal action hotkey → select OpenAI Query.

#Open text workflow mac

You can select any text on your Mac and send it to the workflow:

#Open text workflow how to

Once homebrew is installed, run the following command.īrew install pandoc How to Execute This Workflow 📋 Using Selected Text Installing Pandoc will be just a few clicks once this workflow has been included in the Alfred Gallery. This will allow this workflow to convert the Markdown response from OpenAI to HTML and display the result in your default web browser with syntax highlighting enabled (especially useful when using this workflow to generate program code). You will also need to install the pandoc command. See also the Configuration section below.

open text workflow

To start using this workflow, you must set the environment variable apikey, which you can get by creating a new OpenAI account.

  • Pandoc: See below for installation instructions.
  • 1.6.0: check-for-update command removed (in preparation for Alfred Gallery inclusion).
  • 1.6.0: HTML output option (using Pandoc) is enabled by default.
  • 1.6.0: GPT-3.5-turbo model is set to the default.
  • 1.6.4: Supress "Please Wait" message feature.
  • 1.6.5: Automatic detection of Pandoc installation.
  • 1.6.6: Debug mode added that outputs error messages when problems occur.
  • 1.6.7: Fixed an error that occurred for some users.
  • OpenAI Text-Completion Workflow for AlfredĪn Alfred workflow to help use OpenAI GPT-3.5 and GPT-4 via text-completion API and chat API.










    Open text workflow