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": "Write a blog post about ", "guide": "What are you writing a blog post about?", "format": "text" }, "Essay": { "prefix": "Write an essay about ", "guide": "What are you writing an essay about?", "format": "text" }, "Job Description": { "prefix": "Write a job description for this role ", "guide": "Which role is the job description for?", "format": "text" }, "Ideas": { "prefix": "Give me ideas about ", "guide": "What do you need ideas for?", "format": "text" }, "Meeting Adenda": { "prefix": "Write an agenda for a meeting about ", "prompt": "What is the meeting about?", "format": "text" }, "Poem": { "prefix": "Write a poem about ", "guide": "What is the poem about?", "format": "text" }, "Press release": { "prefix": "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": "Write a recruitment email about ", "guide": "What is the recruitment email about?", "format": "text" }, "Sales Email": { "prefix": "Write a sales email about ", "guide": "What is the sales email about?", "format": "text" }, "Script": { "prefix": "Write a computer script ", "guide": "What should the script do?", "format": "script" }, "Social Media Post": { "prefix": "Write a social media post about ", "guide": "What is the social media post about?", "format": "text" }, "Tweet": { "prefix": "In less than 240 characters, write a social media post 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
TEXT
true
TEXT
false
VARIABLES
Set variable
Repeat
to
True
VARIABLES
Set variable
Prompt
to
Input
SCRIPTING
Repeat
10 times
SCRIPTING
If
Repeat
is
false
NOTHING
Nothing
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
SCRIPTING
If
Format
is
script
SCRIPTING
Choose from
Code Languages
Prompt
Choose a language
Select Multiple
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": "
Prompt
", "prompt": "
model
", "max_tokens":
Max Tokens
, "temperature":
temperature
, "stream": false }
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
SCRIPTING
Show alert
Informational Message
Title
optional
Show Cancel Button
DOCUMENTS
Replace
\A\?\n\n|\A\n\n
with
World
in
Text
Case Sensitive
Regular Expression
SCRIPTING
Show alert
Informational Message
Title
optional
Show Cancel Button
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
Send To Notion
VARIABLES
Set variable
Repeat
to
False
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
Otherwise
TEXT
Match
^.
in
Repeat Item 2
Case Sensitive
SCRIPTING
If
1st Character
does not have any value

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 13 days ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0

52 more actions