Upload prompt template code_teacher_test.yaml
Browse files- code_teacher_test.yaml +20 -0
code_teacher_test.yaml
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
prompt:
|
| 2 |
+
template:
|
| 3 |
+
- role: system
|
| 4 |
+
content: You are a coding assistant who explains concepts clearly and provides
|
| 5 |
+
short examples.
|
| 6 |
+
- role: user
|
| 7 |
+
content: Explain what {{concept}} is in {{programming_language}}.
|
| 8 |
+
template_variables:
|
| 9 |
+
- concept
|
| 10 |
+
- programming_language
|
| 11 |
+
metadata:
|
| 12 |
+
name: Code Teacher
|
| 13 |
+
description: A simple chat prompt for explaining programming concepts with examples
|
| 14 |
+
tags:
|
| 15 |
+
- programming
|
| 16 |
+
- education
|
| 17 |
+
version: 0.0.1
|
| 18 |
+
author: Guido van Bossum
|
| 19 |
+
client_parameters: {}
|
| 20 |
+
custom_data: {}
|