Login About Gallery
GPT-3 x Notion
TEXT
Match
-(\w+)(?:$|\?)
in
Clipboard
Case Sensitive
SCRIPTING
If
Matches
does not have any value
SCRIPTING
Show alert
Informational Message
Title
optional
Show Cancel Button
Otherwise
TEXT
Get
Group At Index
1
in
Matches
End If
TEXT
{ "Ask": { "prefix": "", "guide": "What's your question?", "format": "text" }, "Blog Post": { "prefix": "You are an assistant helping draft a blog post. First, identify the language of the prompt. Then, draft a blog post in the identified language. The blog post should have an introduction, 3 topic paragraphs, and a conclusion.", "guide": "What are you writing a blog post about?", "format": "text" }, "Essay": { "prefix": "You are an assistant helping a user write an essay in a document about ", "guide": "What are you writing an essay about?", "format": "text" }, "Job Description": { "prefix": "You are an assistant helping to draft a job description for this role ", "guide": "Which role is the job description for?", "format": "text" }, "Ideas": { "prefix": "You are an assistant helping a user come up with ideas about ", "guide": "What do you need ideas for?", "format": "text" }, "Meeting Adenda": { "prefix": "You are an assistant helping to write a meeting agenda for a meeting about ", "prompt": "What is the meeting about?", "format": "text" }, "Poem": { "prefix": "You are an assistant helping to write a poem about ", "guide": "What is the poem about?", "format": "text" }, "Press release": { "prefix": "You are an assistant helping to write a press release about ", "guide": "What is the press release about?", "format": "text" }, "Pros And Cons List": { "prefix": "What are the pros and cons if I ", "guide": "What are you considering doing?", "format": "text" }, "Recipe": { "prefix": "Give me a recipe for ", "guide": "What are you making?", "format": "text" }, "Recruitment Email": { "prefix": "You are an assistant helping to write a recruitment email about ", "guide": "What is the recruitment email about?", "format": "text" }, "Sales Email": { "prefix": "You are an assistant helping to write a sales email about ", "guide": "What is the sales email about?", "format": "text" }, "Script": { "prefix": "You are an assistant helping to write a computer script that ", "guide": "What should the script do?", "format": "script" }, "Social Media Post": { "prefix": "You are an assistant helping to write a social media post about ", "guide": "What is the social media post about?", "format": "text" }, "Tweet": { "prefix": "You are an assistant helping to write a social media post that's less than 240 characters long, about ", "guide": "What is the tweet about?", "format": "text" } }
SCRIPTING
Get dictionary from
Prompts Import
TEXT
{ "text-davinci-003": { "limit (tokens)": 4000, "price per token": 0.00002 }, "text-ada-001": { "limit (tokens)": 2048, "price per token": 0.0000004 } }
SCRIPTING
Get dictionary from
Models Import
TEXT
{ "-": "bullet point", "*": "bullet point", "•": "bullet point" }
SCRIPTING
Get dictionary from
Symbols Import
TEXT
abap arduino bash basic c clojure coffeescript c++ c# css dart diff docker elixir elm erlang flow fortran f# gherkin glsl go graphql groovy haskell html java javascript json julia kotlin latex less lisp livescript lua makefile markdown markup matlab mermaid nix objective-c ocaml pascal perl php plain text powershell prolog protobuf python r reason ruby rust sass scala scheme scss shell sql swift typescript vb.net verilog vhdl visual basic webassembly xml yaml java/c/c++/c#
TEXT
Split
Text
by
New Lines
SHORTCUTS
Run
Settings | GPT-3 x Notion
Input
Choose Variable
Show While Running
SCRIPTING
Get dictionary from
Shortcut Result
SCRIPTING
Get
Value
for
N API Key
in
Settings
SCRIPTING
Get
Value
for
N API Version
in
Settings
SCRIPTING
Get
Value
for
OA API Key
in
Settings
SCRIPTING
Get
Value
for
Include Request In Response?
in
Settings
SCRIPTING
Get
Value
for
model
in
Settings
SCRIPTING
Get
Value
for
temperature
in
Settings
SCRIPTING
Get
Value
for
echo
in
Settings
SCRIPTING
Get
Value
for
model
.limit (tokens)
in
Models
VARIABLES
Set variable
Prompt
to
Input
SCRIPTING
Repeat
10 times
SCRIPTING
If
Chosen Prompt
has any value
Otherwise
SCRIPTING
Get
All Keys
in
All Prompts
FILES
Filter
Prompts
Sort by
Name
Order
A to Z
Limit
SCRIPTING
Choose from
Sorted Prompts
Prompt
Choose the type of request
Select Multiple
SCRIPTING
Get
Value
for
Chosen Prompt
.format
in
All Prompts
End If
SCRIPTING
If
Format
is
script
SCRIPTING
If
Language
has any value
Otherwise
SCRIPTING
Choose from
Code Languages
Prompt
Choose a language
Select Multiple
End If
Otherwise
End If
SCRIPTING
Get
Value
for
Chosen Prompt
.guide
in
All Prompts
SCRIPTING
Input Type
Text
Default Answer
Request
VARIABLES
Set variable
Request
to
Request
SCRIPTING
Get
Value
for
Chosen Prompt
.prefix
in
All Prompts
SCRIPTING
If
Format
is
script
VARIABLES
Set variable
Prompt
to
Text
Otherwise
VARIABLES
Set variable
Prompt
to
Text
End If
SCRIPTING
Count
Characters
in
Prompt
MATHS
Options Under Construction
TEXT
{ "model": "
model
", "max_tokens":
Max Tokens
, "temperature":
temperature
, "stream": false }
SCRIPTING
Get dictionary from
OpenAI Request JSON
SCRIPTING
Set
prompt
to
Prompt
in
Dictionary
NETWORK
Get contents of
https://api.openai.com/v1/completions
Options Under Construction
SCRIPTING
Get
Value
for
error
in
Contents of URL
SCRIPTING
If
error
has any value
SCRIPTING
Get
Value
for
message
in
error
SCRIPTING
Show alert
Informational Message
Title
optional
Show Cancel Button
SCRIPTING
Show alert
Informational Message
Title
optional
Show Cancel Button
Otherwise
SCRIPTING
Get
Value
for
choices
in
Contents of URL
SCRIPTING
Get
First Item
from
Choices
SCRIPTING
Get
Value
for
text
in
Item from List
DOCUMENTS
Replace
\A\?\n\n|\A\n\n
with
World
in
Text
Case Sensitive
Regular Expression
SCRIPTING
Get
Value
for
usage.total_tokens
in
Contents of URL
SCRIPTING
Get
Value
for
model
.price per token
in
Models
MATHS
Options Under Construction
End If
SCRIPTING
Show alert
Answer
Title
Answer
Show Cancel Button
SCRIPTING
Choose from Menu
Resubmit
COMMENT
Reruns the Shortcut automatically
Copy
SHARING
Copy
Formatted Text
to clipboard
Local Only
Expire At
Today at 3 pm
SCRIPTING
Exit shortcut with
Result
Send To Notion
SCRIPTING
TEXT
{ "object": "block", "type": "heading_2", "heading_2": { "rich_text": [ { "type": "text", "text": { "content": "
Request
" } } ] } },
VARIABLES
Set variable
Prompt JSON
to
Text
Otherwise
End If
SCRIPTING
Get
Value
for
Chosen Prompt
.format
in
All Prompts
SCRIPTING
If
Format
is
script
DOCUMENTS
Replace
"
with
\"
in
Formatted Text
Case Sensitive
Regular Expression
DOCUMENTS
Replace
\n
with
\\n
in
Text w. Escaped Speechmarks
Case Sensitive
Regular Expression
TEXT
{ "object": "block", "type": "code", "code": { "rich_text": [ { "text": { "content": "
Escaped Text
" } } ], "language": "
Language
" } }
VARIABLES
Set variable
Blocks JSON
to
Text
Otherwise
TEXT
Split
Text
by
New Lines
SCRIPTING
Count
Items
in
Split Text
SCRIPTING
Repeat with each item in
Split Text
TEXT
,
VARIABLES
Set variable
Appended Comma
to
Comma
SCRIPTING
If
Repeat Index 2
is less than
3
COMMENT
First 2 lines are always empty so don’t process them
NOTHING
Nothing

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 13 days ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0

55 more actions