Skip to content

Commit

Permalink
Add example vscode workspace (zipped)
Browse files Browse the repository at this point in the history
  • Loading branch information
awellis committed Nov 28, 2024
1 parent ad83057 commit 8b27673
Show file tree
Hide file tree
Showing 5 changed files with 226 additions and 198 deletions.
11 changes: 11 additions & 0 deletions docs/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -674,5 +674,16 @@
"Workshop",
"Contents"
]
},
{
"objectID": "workshop/openai/index.html#example-workspace",
"href": "workshop/openai/index.html#example-workspace",
"title": "Setup OpenAI",
"section": "Example workspace",
"text": "Example workspace\nFor convenience, you can download an example workspace here:\n ai-coding-workshop\nOnce you have downloaded the ZIP file, unzip it and open the folder in VSCode. You can then create a virtual environment and install the dependencies. Once you have done this, you can run the code in the Jupyter Notebook cells or the Python file as described above.",
"crumbs": [
"Workshop",
"Setup OpenAI"
]
}
]
2 changes: 1 addition & 1 deletion docs/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
</url>
<url>
<loc>https://virtuelleakademie.github.io/promptly-engineered/workshop/openai/index.html</loc>
<lastmod>2024-11-28T10:15:21.291Z</lastmod>
<lastmod>2024-11-28T11:44:04.001Z</lastmod>
</url>
<url>
<loc>https://virtuelleakademie.github.io/promptly-engineered/workshop/index.html</loc>
Expand Down
172 changes: 86 additions & 86 deletions docs/slides/openai-platform/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -338,26 +338,48 @@
}
</style>
<style>
div.callout-testing.callout {
border-left-color: green;
div.callout-caution.callout {
border-left-color: orange;
}
div.callout-testing.callout-style-default > .callout-header {
background-color: rgb(from green r g b / 13%);
div.callout-caution.callout-style-default > .callout-header {
background-color: rgb(from orange r g b / 13%);
}
div.callout-testing .callout-toggle::before { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(33, 37, 41)" class="bi bi-chevron-down" viewbox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');}
div.callout-testing.callout-style-default .callout-icon::before, div.callout-testing.callout-titled .callout-icon::before {
content: '🧪';
div.callout-caution .callout-toggle::before { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(33, 37, 41)" class="bi bi-chevron-down" viewbox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');}
div.callout-caution.callout-style-default .callout-icon::before, div.callout-caution.callout-titled .callout-icon::before {
content: '⚠️';
background-image: none;
}
div.callout-checkpoint.callout {
border-left-color: purple;
div.callout-prompt-example.callout {
border-left-color: darkblue;
}
div.callout-checkpoint.callout-style-default > .callout-header {
background-color: rgb(from purple r g b / 13%);
div.callout-prompt-example.callout-style-default > .callout-header {
background-color: rgb(from darkblue r g b / 13%);
}
div.callout-checkpoint .callout-toggle::before { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(33, 37, 41)" class="bi bi-chevron-down" viewbox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');}
div.callout-checkpoint.callout-style-default .callout-icon::before, div.callout-checkpoint.callout-titled .callout-icon::before {
content: '🎯';
div.callout-prompt-example .callout-toggle::before { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(33, 37, 41)" class="bi bi-chevron-down" viewbox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');}
div.callout-prompt-example.callout-style-default .callout-icon::before, div.callout-prompt-example.callout-titled .callout-icon::before {
content: '👩🏼‍🔧';
background-image: none;
}
div.callout-timing.callout {
border-left-color: red;
}
div.callout-timing.callout-style-default > .callout-header {
background-color: rgb(from red r g b / 13%);
}
div.callout-timing .callout-toggle::before { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(33, 37, 41)" class="bi bi-chevron-down" viewbox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');}
div.callout-timing.callout-style-default .callout-icon::before, div.callout-timing.callout-titled .callout-icon::before {
content: '⏱️';
background-image: none;
}
div.callout-feedback.callout {
border-left-color: teal;
}
div.callout-feedback.callout-style-default > .callout-header {
background-color: rgb(from teal r g b / 13%);
}
div.callout-feedback .callout-toggle::before { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(33, 37, 41)" class="bi bi-chevron-down" viewbox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');}
div.callout-feedback.callout-style-default .callout-icon::before, div.callout-feedback.callout-titled .callout-icon::before {
content: '📝';
background-image: none;
}
div.callout-prompt-template.callout {
Expand All @@ -371,6 +393,17 @@
content: '📋';
background-image: none;
}
div.callout-screens-up.callout {
border-left-color: green;
}
div.callout-screens-up.callout-style-default > .callout-header {
background-color: rgb(from green r g b / 13%);
}
div.callout-screens-up .callout-toggle::before { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(33, 37, 41)" class="bi bi-chevron-down" viewbox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');}
div.callout-screens-up.callout-style-default .callout-icon::before, div.callout-screens-up.callout-titled .callout-icon::before {
content: '🔼';
background-image: none;
}
div.callout-setup.callout {
border-left-color: gray;
}
Expand All @@ -382,17 +415,6 @@
content: '⚙️';
background-image: none;
}
div.callout-reflect.callout {
border-left-color: purple;
}
div.callout-reflect.callout-style-default > .callout-header {
background-color: rgb(from purple r g b / 13%);
}
div.callout-reflect .callout-toggle::before { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(33, 37, 41)" class="bi bi-chevron-down" viewbox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');}
div.callout-reflect.callout-style-default .callout-icon::before, div.callout-reflect.callout-titled .callout-icon::before {
content: '💭';
background-image: none;
}
div.callout-screens-down.callout {
border-left-color: orange;
}
Expand All @@ -415,6 +437,17 @@
content: '👥';
background-image: none;
}
div.callout-export.callout {
border-left-color: brown;
}
div.callout-export.callout-style-default > .callout-header {
background-color: rgb(from brown r g b / 13%);
}
div.callout-export .callout-toggle::before { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(33, 37, 41)" class="bi bi-chevron-down" viewbox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');}
div.callout-export.callout-style-default .callout-icon::before, div.callout-export.callout-titled .callout-icon::before {
content: '📤';
background-image: none;
}
div.callout-try.callout {
border-left-color: blue;
}
Expand All @@ -426,26 +459,15 @@
content: '🔄';
background-image: none;
}
div.callout-prompt-example.callout {
border-left-color: darkblue;
}
div.callout-prompt-example.callout-style-default > .callout-header {
background-color: rgb(from darkblue r g b / 13%);
}
div.callout-prompt-example .callout-toggle::before { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(33, 37, 41)" class="bi bi-chevron-down" viewbox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');}
div.callout-prompt-example.callout-style-default .callout-icon::before, div.callout-prompt-example.callout-titled .callout-icon::before {
content: '👩🏼‍🔧';
background-image: none;
}
div.callout-caution.callout {
border-left-color: orange;
div.callout-checkpoint.callout {
border-left-color: purple;
}
div.callout-caution.callout-style-default > .callout-header {
background-color: rgb(from orange r g b / 13%);
div.callout-checkpoint.callout-style-default > .callout-header {
background-color: rgb(from purple r g b / 13%);
}
div.callout-caution .callout-toggle::before { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(33, 37, 41)" class="bi bi-chevron-down" viewbox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');}
div.callout-caution.callout-style-default .callout-icon::before, div.callout-caution.callout-titled .callout-icon::before {
content: '⚠️';
div.callout-checkpoint .callout-toggle::before { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(33, 37, 41)" class="bi bi-chevron-down" viewbox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');}
div.callout-checkpoint.callout-style-default .callout-icon::before, div.callout-checkpoint.callout-titled .callout-icon::before {
content: '🎯';
background-image: none;
}
div.callout-individual.callout {
Expand All @@ -459,17 +481,6 @@
content: '💻';
background-image: none;
}
div.callout-output-example.callout {
border-left-color: darkgreen;
}
div.callout-output-example.callout-style-default > .callout-header {
background-color: rgb(from darkgreen r g b / 13%);
}
div.callout-output-example .callout-toggle::before { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(33, 37, 41)" class="bi bi-chevron-down" viewbox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');}
div.callout-output-example.callout-style-default .callout-icon::before, div.callout-output-example.callout-titled .callout-icon::before {
content: '📄';
background-image: none;
}
div.callout-tip.callout {
border-left-color: gold;
}
Expand All @@ -481,26 +492,15 @@
content: '💡';
background-image: none;
}
div.callout-screens-up.callout {
border-left-color: green;
}
div.callout-screens-up.callout-style-default > .callout-header {
background-color: rgb(from green r g b / 13%);
}
div.callout-screens-up .callout-toggle::before { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(33, 37, 41)" class="bi bi-chevron-down" viewbox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');}
div.callout-screens-up.callout-style-default .callout-icon::before, div.callout-screens-up.callout-titled .callout-icon::before {
content: '🔼';
background-image: none;
}
div.callout-feedback.callout {
border-left-color: teal;
div.callout-reflect.callout {
border-left-color: purple;
}
div.callout-feedback.callout-style-default > .callout-header {
background-color: rgb(from teal r g b / 13%);
div.callout-reflect.callout-style-default > .callout-header {
background-color: rgb(from purple r g b / 13%);
}
div.callout-feedback .callout-toggle::before { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(33, 37, 41)" class="bi bi-chevron-down" viewbox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');}
div.callout-feedback.callout-style-default .callout-icon::before, div.callout-feedback.callout-titled .callout-icon::before {
content: '📝';
div.callout-reflect .callout-toggle::before { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(33, 37, 41)" class="bi bi-chevron-down" viewbox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');}
div.callout-reflect.callout-style-default .callout-icon::before, div.callout-reflect.callout-titled .callout-icon::before {
content: '💭';
background-image: none;
}
div.callout-group.callout {
Expand All @@ -525,26 +525,26 @@
content: '☕';
background-image: none;
}
div.callout-export.callout {
border-left-color: brown;
div.callout-testing.callout {
border-left-color: green;
}
div.callout-export.callout-style-default > .callout-header {
background-color: rgb(from brown r g b / 13%);
div.callout-testing.callout-style-default > .callout-header {
background-color: rgb(from green r g b / 13%);
}
div.callout-export .callout-toggle::before { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(33, 37, 41)" class="bi bi-chevron-down" viewbox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');}
div.callout-export.callout-style-default .callout-icon::before, div.callout-export.callout-titled .callout-icon::before {
content: '📤';
div.callout-testing .callout-toggle::before { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(33, 37, 41)" class="bi bi-chevron-down" viewbox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');}
div.callout-testing.callout-style-default .callout-icon::before, div.callout-testing.callout-titled .callout-icon::before {
content: '🧪';
background-image: none;
}
div.callout-timing.callout {
border-left-color: red;
div.callout-output-example.callout {
border-left-color: darkgreen;
}
div.callout-timing.callout-style-default > .callout-header {
background-color: rgb(from red r g b / 13%);
div.callout-output-example.callout-style-default > .callout-header {
background-color: rgb(from darkgreen r g b / 13%);
}
div.callout-timing .callout-toggle::before { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(33, 37, 41)" class="bi bi-chevron-down" viewbox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');}
div.callout-timing.callout-style-default .callout-icon::before, div.callout-timing.callout-titled .callout-icon::before {
content: '⏱️';
div.callout-output-example .callout-toggle::before { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(33, 37, 41)" class="bi bi-chevron-down" viewbox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path></svg>');}
div.callout-output-example.callout-style-default .callout-icon::before, div.callout-output-example.callout-titled .callout-icon::before {
content: '📄';
background-image: none;
}
</style>
Expand Down
Loading

0 comments on commit 8b27673

Please sign in to comment.