Skip to content

Commit cfc1e67

Browse files
committed
Add more templates
1 parent 5b4e44b commit cfc1e67

File tree

7 files changed

+492
-8
lines changed

7 files changed

+492
-8
lines changed
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
name: "Character Chat"
2+
slug: "character-chatbot"
3+
category_slugs: ["chatbot"]
4+
description: "Bring your favorite characters to life using this template. Simply define a few features of the character you want to create a bot for and start chatting away."
5+
provider_slug: "promptly"
6+
pages:
7+
- title: "Character configuration"
8+
description: "Configure your character parameters"
9+
input_fields:
10+
- name: "header_message"
11+
title: "Header"
12+
type: "richtext"
13+
description: "Content to show at the top of the chat window"
14+
path: "config.input_template"
15+
- name: "welcome_message"
16+
title: "Welcome Message"
17+
type: "string"
18+
description: "This is the message the character greets users with"
19+
path: "config.welcome_message"
20+
- name: "assistant_image"
21+
title: "Character Image"
22+
type: "image"
23+
description: "Avatar to use for your character"
24+
path: "config.assistant_image"
25+
- name: "question_description"
26+
title: "Question help text"
27+
type: "string"
28+
description: "Help text to show below the question input box"
29+
path: "input_schema.properties.question.description"
30+
- name: "character_behavior_message"
31+
title: "Character definition"
32+
type: "text"
33+
path: "processors[0].input.system_message"
34+
app:
35+
name: "Character Chat"
36+
slug: "character-chatbot"
37+
description: "Bring your favorite characters to life using this template. Simply define a few features of the character you want to create a bot for and start chatting away."
38+
type_slug: "text-chat"
39+
input_fields:
40+
- name: "question"
41+
title: "Question"
42+
type: "string"
43+
description: "Type in your message here"
44+
output_template:
45+
markdown: |
46+
{{_inputs1.choices[0].content}}
47+
processors:
48+
- id: "_inputs1"
49+
provider_slug: "openai"
50+
processor_slug: "openai_chatgpt"
51+
input:
52+
{
53+
"messages":
54+
[
55+
{
56+
"name": "",
57+
"role": "user",
58+
"content": "{{_inputs0.question}} ",
59+
"function_call": { "name": "", "arguments": "" },
60+
},
61+
],
62+
"chat_history": [],
63+
"system_message": "You are Harry Potter, the famous young wizard from the magical world of Hogwarts School of Witchcraft and Wizardry. Engage in conversations as if you were Harry, discussing magical spells, experiences at Hogwarts, and adventures with your friends Ron and Hermione. Share your knowledge about the wizardry world and encourage users to explore its wonders.",
64+
}
65+
config:
66+
{
67+
"n": 1,
68+
"model": "gpt-3.5-turbo",
69+
"top_p": 1,
70+
"stream": true,
71+
"max_tokens": 1024,
72+
"temperature": 0.7,
73+
"retain_history": true,
74+
"presence_penalty": 0,
75+
"frequency_penalty": 0,
76+
"auto_prune_chat_history": true,
77+
}
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: "Data Extractor"
2+
slug: "data-extractor"
3+
category_slugs: ["text", "productivity"]
4+
description: "Extract structured data from unstructured data. Simply define the features you want to extract and use the saved app to extract structured info from the provided text."
5+
provider_slug: "promptly"
6+
pages:
7+
- title: "Configuration"
8+
description: "Feature definition"
9+
input_fields:
10+
- name: "features"
11+
title: "Features to extract"
12+
description: 'List of features and the format to extract from input. For example, "Name and birthday of all candidates in the text"'
13+
path: "processors[0].input.messages[1].content"
14+
type: "text"
15+
app:
16+
name: "Data Extractor"
17+
slug: "data-extractor"
18+
description: "Extract structured data from unstructured data. Simply define the features you want to extract and use the saved app to extract structured info from the provided text."
19+
type_slug: "web"
20+
input_fields:
21+
- name: "input"
22+
title: "Input"
23+
type: "text"
24+
description: "Source text to extract features from"
25+
- name: "format"
26+
title: "Format"
27+
type: "string"
28+
description: "Output data format"
29+
output_template:
30+
markdown: "{{_inputs1.choices[0].content}}"
31+
processors:
32+
- id: "_inputs1"
33+
provider_slug: "openai"
34+
processor_slug: "openai_chatgpt"
35+
input:
36+
{
37+
"messages":
38+
[
39+
{
40+
"name": "",
41+
"role": "user",
42+
"content": "Input: {{_inputs0.input}} \n---\nOutput format: {{_inputs0.format}} ",
43+
"function_call": { "arguments": "" },
44+
},
45+
],
46+
"chat_history": [],
47+
"system_message": "Assistant that helps extract structured data from unstructured data",
48+
}
49+
config:
50+
{
51+
"n": 1,
52+
"model": "gpt-4",
53+
"top_p": 1,
54+
"stream": true,
55+
"max_tokens": 1991,
56+
"temperature": 0.7,
57+
"retain_history": false,
58+
"presence_penalty": 0,
59+
"frequency_penalty": 0,
60+
"auto_prune_chat_history": false,
61+
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: "Language Translator"
2+
slug: "language-translator"
3+
category_slugs: ["text", "language"]
4+
description: "Use ChatGPT to translate given text to any desired language"
5+
provider_slug: "promptly"
6+
pages:
7+
- title: "Settings"
8+
description: "Configure your language translator"
9+
input_fields:
10+
- name: "input_language"
11+
title: "Input language"
12+
type: "string"
13+
description: "Default value for the user input language"
14+
path: "input_schema.properties.input_language.default"
15+
- name: "output_language"
16+
title: "Output language"
17+
type: "string"
18+
description: "Default value for expected output language"
19+
path: "input_schema.properties.output_language.default"
20+
app:
21+
name: "Language Translator"
22+
slug: "language-translator"
23+
description: "Use ChatGPT to translate given text to any desired language"
24+
type_slug: "web"
25+
input_fields:
26+
- name: "input"
27+
title: "Input"
28+
type: "text"
29+
description: "Text to translate"
30+
- name: "input_language"
31+
title: "Input Language"
32+
type: "string"
33+
description: "Language the input text is in"
34+
- name: "output_language"
35+
title: "Output Language"
36+
type: "string"
37+
description: "Language to translate input text to"
38+
output_template:
39+
markdown: |
40+
{{_inputs1.choices[0].content}}
41+
processors:
42+
- id: "_inputs1"
43+
provider_slug: "openai"
44+
processor_slug: "openai_chatgpt"
45+
input:
46+
{
47+
"messages":
48+
[
49+
{
50+
"name": "",
51+
"role": "user",
52+
"content": "Translate below user input from {{_inputs0.input_language}} to {{_inputs0.output_language}} \n----\nInput: {{_inputs0.input}} ",
53+
"function_call": { "name": "", "arguments": "" },
54+
},
55+
],
56+
"chat_history": [],
57+
"system_message": "You are a language translator",
58+
}
59+
config:
60+
{
61+
"n": 1,
62+
"model": "gpt-4",
63+
"top_p": 1,
64+
"stream": true,
65+
"max_tokens": 1024,
66+
"temperature": 0.7,
67+
"retain_history": false,
68+
"presence_penalty": 0,
69+
"frequency_penalty": 0,
70+
"auto_prune_chat_history": false,
71+
}
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
name: "Marketing Content Generator"
2+
slug: "marketing-content-generator"
3+
category_slugs: ["content-generator"]
4+
description: "Add your brand guidelines and other instructions to this template and use the generated app to quickly create marketing content"
5+
provider_slug: "promptly"
6+
pages:
7+
- title: "Configuration"
8+
description: "Tune your content generator"
9+
input_fields:
10+
- name: "brand_guidelines"
11+
title: "Brand information"
12+
type: "text"
13+
description: "Add your brand guidelines, company information etc., to set a personality for the content generator"
14+
path: "processors[0].input.system_message"
15+
app:
16+
name: "Marketing Content Generator"
17+
slug: "marketing-content-generator"
18+
description: "Add your brand guidelines and other instructions to this template and use the generated app to quickly create marketing content"
19+
type_slug: "web"
20+
input_fields:
21+
- name: "format"
22+
title: "Format"
23+
type: "select"
24+
options:
25+
- label: "Blog Post"
26+
value: "Blog Post"
27+
- label: "LinkedIn Post"
28+
value: "LinkedIn Post"
29+
- label: "Instagram Post"
30+
value: "Instagram Post"
31+
- label: "Landing Page"
32+
value: "Landing Page"
33+
- label: "Facebook Post"
34+
value: "Facebook Post"
35+
- label: "Video Script"
36+
value: "Video Script"
37+
- label: "Product Description"
38+
value: "Product Description"
39+
- label: "Press Release"
40+
value: "Press Release"
41+
- label: "Newsletter"
42+
value: "Newsletter"
43+
- label: "Case Study"
44+
value: "Case Study"
45+
description: "Specify the marketing content format"
46+
- name: "messaging"
47+
title: "Messaging"
48+
type: "text"
49+
description: "The key messages or value proposition that the content conveys to the audience, such as highlighting the benefits of a product or service or addressing a pain point etc.,"
50+
- name: "product_name"
51+
title: "Product Name"
52+
type: "string"
53+
description: "Name of the product you want to generate content for"
54+
- name: "tone"
55+
title: "Tone"
56+
type: "select"
57+
options:
58+
- label: "Formal"
59+
value: "Formal"
60+
- label: "Casual"
61+
value: "Casual"
62+
- label: "Professional"
63+
value: "Professional"
64+
- label: "Humorous"
65+
value: "Humorous"
66+
- label: "Informative"
67+
value: "Informative"
68+
description: "Set the tone for the content"
69+
output_template:
70+
markdown: |
71+
{{_inputs1.choices[0].content}}
72+
processors:
73+
- id: "_inputs1"
74+
provider_slug: "openai"
75+
processor_slug: "openai_chatgpt"
76+
input:
77+
{
78+
"messages":
79+
[
80+
{
81+
"name": "",
82+
"role": "user",
83+
"content": "Create a {{_inputs0.format}} for {{_inputs0.product_name}} . The content will be posted on {{_inputs0.platform}} . Consider the following characteristics when generating the content:\n1. Tone of the content should be {{_inputs0.tone}}\n2. messaging {{_inputs0.messaging}}\n3. Messaging is the 4. Limit the content generated to a maximum of 400 words",
84+
"function_call": { "name": "", "arguments": "" },
85+
},
86+
],
87+
"chat_history": [],
88+
"system_message": "You are an AI language model, and your task is to to act as a Marketing Content Generator. Your task is to create engaging marketing content. Please generate the content ensuring that it contributes to a comprehensive marketing strategy. ",
89+
}
90+
config:
91+
{
92+
"n": 1,
93+
"model": "gpt-4",
94+
"top_p": 1,
95+
"stream": true,
96+
"max_tokens": 2459,
97+
"temperature": 0.7,
98+
"retain_history": false,
99+
"presence_penalty": 0,
100+
"frequency_penalty": 0,
101+
"auto_prune_chat_history": false,
102+
}

0 commit comments

Comments
 (0)