Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
Comment thread
AChenQ marked this conversation as resolved.
"default": true,
"header-increment": false,
"ul-indent": {
"indent": 4
},
"line-length": {
"line_length": 100,
"code_blocks": false
},
"no-duplicate-header": false,
"no-trailing-punctuation": false,
"list-marker-space": false,
"fenced-code-language": false,
"code-block-style": {
"style": "fenced"
}
}
47 changes: 47 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
default_stages: [commit]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: detect-private-key

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.7.1
hooks:
- id: prettier
types_or: [markdown, json]
args: ["--print-width=100", "--tab-width=4"]
- id: prettier
name: prettier-yaml
types: [yaml]
args: ["--print-width=100", "--tab-width=2"]

- repo: https://github.com/adrienverge/yamllint
rev: v1.28.0
hooks:
- id: yamllint
types: [yaml]
args:
[
"--strict",
"--config-data",
"{extends: default, rules: {line-length: {max: 100}, truthy: {check-keys: false}}}",
]

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.32.2
hooks:
- id: markdownlint
types: [markdown]
args: ["--config=.markdownlint.json"]

- repo: https://github.com/jorisroovers/gitlint
rev: v0.18.0
hooks:
- id: gitlint
name: gitlint
args: ["--msg-filename"]
stages: [commit-msg]
6 changes: 2 additions & 4 deletions open_prompts/1st_to_3rd_person_writing/prompts.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"description": "",
"source": "https://www.notion.so/1st-3rd-Person-Writing-ba3be8267da042498c5cc7430558c2a8",
"categories": [
"Transformation"
],
"categories": ["Transformation"],
"prompts": [
{
"prompt": "in: i started the business in 2010 we sell gift boxes with chocolates and other things\nout: The business was founded in 2010, and they sell gift boxes with chocolates and other items.\n \nin: we don't have any investors\nout: The company has taken no outside funding.\n \nin: our only major risk is our supplier who we depend on for 90% of our stock\nout: The company's main challenge is its dependence on a single supplier for 90 percent of its stock.\n \nin: We have a lot of loyal customers and are growing rapidly\nout: The company has a lot of loyal customers and is growing rapidly.\n \nin: we don't use social media for marketing\nout: The company doesn't use social media for marketing.\n \nin: i am currently in the process of opening up a new store\nout: The company is currently in the process of opening up a new store.\n\nin:",
"response": ""
}
]
}
}
20 changes: 14 additions & 6 deletions open_prompts/1st_to_3rd_person_writing/readme.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,43 @@
## 1st to 3rd Person Writing
# 1st to 3rd Person Writing

### Categories

`Transformation`

### Examples

#### Example

Prompt

```
in: i started the business in 2010 we sell gift boxes with chocolates and other things
out: The business was founded in 2010, and they sell gift boxes with chocolates and other items.

in: we don't have any investors
out: The company has taken no outside funding.

in: our only major risk is our supplier who we depend on for 90% of our stock
out: The company's main challenge is its dependence on a single supplier for 90 percent of its stock.

in: We have a lot of loyal customers and are growing rapidly
out: The company has a lot of loyal customers and is growing rapidly.

in: we don't use social media for marketing
out: The company doesn't use social media for marketing.

in: i am currently in the process of opening up a new store
out: The company is currently in the process of opening up a new store.

in:
```

Response

```

```

### Source

<https://www.notion.so/1st-3rd-Person-Writing-ba3be8267da042498c5cc7430558c2a8>
2 changes: 1 addition & 1 deletion open_prompts/analogies/prompts.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
"response": ""
}
]
}
}
10 changes: 9 additions & 1 deletion open_prompts/analogies/readme.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
## Analogies
# Analogies

### Categories

### Description

Put the code below into a new Playground instance and you'll start getting analogies.

### Examples

#### Example

Prompt

```
write : book :: paint : picture
drink : coffee :: eat : chicken
Expand All @@ -15,8 +20,11 @@ ride : horse :: sail :
```

Response

```

```

### Source

<https://github.com/wgryc/gpt3-prompts/blob/master/analogies.md>
6 changes: 2 additions & 4 deletions open_prompts/cover_letter_generator/prompts.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"description": "",
"source": "https://www.notion.so/Cover-Letter-Generator-8ac55d1145dc4243ae0dc97345e3661f",
"categories": [
"Generation"
],
"categories": ["Generation"],
"prompts": [
{
"prompt": "Company: Spotify\nJob Description: We want someone to help build a new data pipeline for Spotify Unwrapped team using Apache Kafka and D3.js\nResume: \n- Worked as a Developer Advocate at Algolia, writing blog posts and speaking on behalf of the company\n- Worked as a Software Engineer at HBO, with AngularJS and GraphQL\n- Currently a Creative Technologist and Founder at Sharing Fiction, a creative agency that helps clients tell stories with technology.\n- Favorite Tools: Processing, Unity, Swift, ARKit, NodeJS\n\n''''",
Expand All @@ -14,4 +12,4 @@
"response": "I'm a competitive and driven second year Physics graduate from the University of Bristol and have a passion for technology and science that I've been fostering for the last five years.\n\nI've had a number of jobs throughout my degree, from working in a building site to painting hotels as well as helping to organise Bristol's biggest career fairs. These have all helped me to understand what I want from my career, as well as teach me skills that I can apply to my career in technology consulting. I'm a qualified coach with a passion for encouraging people to achieve their potential and to deliver the best results possible.\n\nI understand you're looking for technology consultants with a strong technical background who have skills that can be transferred to real-world challenges. As you can see from my attached CV, I have excellent analytical skills, which I developed through my degree and through my work experience, and I am a forward-thinker with a creative approach to problem solving.\n\nAs part of my university course, I've taken part in technology outreach sessions, allowing me to meet young people from schools, colleges and sixth forms and to promote careers in science, technology, engineering and maths. I've taken these sessions to under-represented groups, such as children with special needs, and I understand that they are a great way to show young people that STEM subjects are accessible to everyone, no matter what their academic background.\n\nIn my spare time, I'm a keen skier and tennis player and I also enjoy playing football. These activities have taught me excellent time management skills and I'm used to balancing different priorities. I know that in technology consulting you have to juggle a range of different projects and responsibilities, all while maintaining a demanding work-life balance.\n\nI am a quick learner and a diligent worker, and I understand that in order to succeed, I have to demonstrate commitment, curiosity and a passion for technology. In the attached reference from my course leader at the University of Bristol, you can see how I always try to do my best and ask questions in order to learn as much as I can. I understand the importance of self-development and I can assure you that I will never stop learning.\n\nI'm keen to join your technology consulting team because I know I would thrive in the challenging and fast-paced environment. I'd love the opportunity to learn from your expert consultants and to work with a team that is working on a diverse range of projects. I've heard great things about Deloitte and would love to find out more. I look forward to hearing from you.\n\nYours sincerely,\nElla Duffy"
}
]
}
}
15 changes: 12 additions & 3 deletions open_prompts/cover_letter_generator/readme.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
## Cover Letter Generator
# Cover Letter Generator

### Categories

`Generation`

### Examples

#### Example1

Prompt

```
Company: Spotify
Job Description: We want someone to help build a new data pipeline for Spotify Unwrapped team using Apache Kafka and D3.js
Resume:
Resume:
- Worked as a Developer Advocate at Algolia, writing blog posts and speaking on behalf of the company
- Worked as a Software Engineer at HBO, with AngularJS and GraphQL
- Currently a Creative Technologist and Founder at Sharing Fiction, a creative agency that helps clients tell stories with technology.
Expand All @@ -18,6 +23,7 @@ Resume:
```

Response

```
"I'm a creative technologist and founder of Sharing Fiction, a creative agency that helps clients tell stories with technology. I'm also a writer and a musician.

Expand All @@ -30,16 +36,18 @@ I'd love to help Spotify Unwrapped tell more stories with data. I'm a big fan of
I'd love to talk more about how I could help Spotify Unwrapped tell more stories with data."
```


#### Example2

Prompt

```
Dear Deloitte graduate recruitment,

I'm writing to apply to join your graduate scheme in Technology Consulting.
```

Response

```
I'm a competitive and driven second year Physics graduate from the University of Bristol and have a passion for technology and science that I've been fostering for the last five years.

Expand All @@ -60,4 +68,5 @@ Ella Duffy
```

### Source

<https://www.notion.so/Cover-Letter-Generator-8ac55d1145dc4243ae0dc97345e3661f>
6 changes: 2 additions & 4 deletions open_prompts/described_structure/prompts.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"description": "With a described structure there is even less information given, consider the following prompt, now with a described JSON structure",
"source": "https://blog.devgenius.io/how-to-get-gpt3-to-output-in-json-4e14c46aa5b6",
"categories": [
"Structure"
],
"categories": ["Structure"],
"prompts": [
{
"prompt": "Consider the following message:",
"response": "{\n \"sender\": \"Tarzan\",\n \"message\": \"Dear Jane, I am thinking about you when I am swinging through the jungle. Greetings, Tarzan\",\n \"list_of_words\": [\"Dear\", \"Jane\", \"I\", \"am\", \"thinking\", \"about\", \"you\", \"when\", \"I\", \"am\", \"swinging\", \"through\", \"the\", \"jungle\", \"Greetings\", \"Tarzan\"],\n \"addressed\": \"Jane\",\n \"amount_of_words\": 16\n}"
}
]
}
}
14 changes: 12 additions & 2 deletions open_prompts/described_structure/readme.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
## Described Structure
# Described Structure

### Categories

`Structure`

### Description
With a described structure there is even less information given, consider the following prompt, now with a described JSON structure

With a described structure there is even less information given,
consider the following prompt, now with a described JSON structure

### Examples

#### Example1

Prompt

```
Consider the following message:
```

Response

```
{
"sender": "Tarzan",
Expand All @@ -23,4 +32,5 @@ Response
```

### Source

<https://blog.devgenius.io/how-to-get-gpt3-to-output-in-json-4e14c46aa5b6>
2 changes: 1 addition & 1 deletion open_prompts/english_to_python/prompts.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
"response": ""
}
]
}
}
13 changes: 11 additions & 2 deletions open_prompts/english_to_python/readme.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
## English to Python
# English to Python

### Categories

### Description
You can use the same prompt settings as the Playground's English to French option; just change the French settings to Python in the form, and enable line breaks in the output.

You can use the same prompt settings as the Playground's English to French option;
just change the French settings to Python in the form, and enable line breaks in the output.

### Examples

#### Example

Prompt

```
English: print "hi there"
Python: print('hi there')
Expand Down Expand Up @@ -40,8 +46,11 @@ English: Read a file into memory.
```

Response

```

```

### Source

<https://github.com/wgryc/gpt3-prompts/blob/master/english-to-python.md>
6 changes: 2 additions & 4 deletions open_prompts/exemplary_structure/prompts.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"description": "We have a letter from Tarzan from the jungle to Jane. We want to process this letter and put the relevant information in the JSON. Below you can see the full prompt where we first have that letter, then the processing instructions, and an example JSON structure.",
"source": "https://blog.devgenius.io/how-to-get-gpt3-to-output-in-json-4e14c46aa5b6",
"categories": [
"Structure"
],
"categories": ["Structure"],
"prompts": [
{
"prompt": "Consider the following message:",
"response": "{\n \"sender\": \"Tarzan\",\n \"message\": \"Dear Jane, I am thinking about you when I am swinging through the jungle. Greetings, Tarzan\",\n \"list_of_words\": [\n \"Dear\",\n \"Jane\",\n \"I\",\n \"am\",\n \"thinking\",\n \"about\",\n \"you\",\n \"when\",\n \"I\",\n \"am\",\n \"swinging\",\n \"through\",\n \"the\",\n \"jungle\",\n \"Greetings\",\n \"Tarzan\",\n ],\n \"addressed\": \"Jane\",\n \"amount_of_words\": 16\n}"
}
]
}
}
16 changes: 14 additions & 2 deletions open_prompts/exemplary_structure/readme.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,28 @@
## Exemplary Structure
# Exemplary Structure

### Categories

`Structure`

### Description
We have a letter from Tarzan from the jungle to Jane. We want to process this letter and put the relevant information in the JSON. Below you can see the full prompt where we first have that letter, then the processing instructions, and an example JSON structure.

We have a letter from Tarzan from the jungle to Jane.
We want to process this letter and put the relevant information in the JSON.
Below you can see the full prompt where we first have that letter,
then the processing instructions, and an example JSON structure.

### Examples

#### Example1

Prompt

```
Consider the following message:
```

Response

```
{
"sender": "Tarzan",
Expand Down Expand Up @@ -40,4 +51,5 @@ Response
```

### Source

<https://blog.devgenius.io/how-to-get-gpt3-to-output-in-json-4e14c46aa5b6>
Loading