jumon 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +29 -16
- data/lib/jumon/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1537919b085d7485c19812fb3249daafefc75b8417c52e0a9cd7c67a63c5c7fd
|
4
|
+
data.tar.gz: 81d87efbaa25ac14099965848994a1f7a254fe6a37ecce81158992ac143ddfa2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6617855cf1e61b76605609b1978a31092e75f5a3e5a99d1103d803fbb14492c1f8ccda31fcecb62612ffa82c2eb1e26fb04db8567b16e30fe30f6c0c7f3e850
|
7
|
+
data.tar.gz: b836117853ab90bb101c182565467925de927758125ed08fc2d88c68bdbdf803977b8eb6fd2c1bde54ba9de980da42b93090787bb44ee33d9b12ce4c6ee9a017
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Jumon
|
2
2
|
|
3
|
-
The Prompt testing tool for
|
3
|
+
The Prompt testing tool for ChatGPT that allows comparing patterns of prompts.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -20,25 +20,38 @@ If bundler is not being used to manage dependencies, install the gem by executin
|
|
20
20
|
config:
|
21
21
|
model: gpt-3.5-turbo-16k
|
22
22
|
temperature: 0.7
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
user
|
35
|
-
|
23
|
+
prompts:
|
24
|
+
system:
|
25
|
+
subject: Your personality is {{personality}}, your purpose is to {{purpose}}
|
26
|
+
variables:
|
27
|
+
- name: personality
|
28
|
+
patterns:
|
29
|
+
- extroverted
|
30
|
+
- introverted
|
31
|
+
- name: purpose
|
32
|
+
patterns:
|
33
|
+
- help the user
|
34
|
+
- rebel against the user
|
35
|
+
user:
|
36
|
+
subject: I want to drink delicious coffee
|
36
37
|
```
|
37
38
|
|
38
39
|
set `OPENAI_API_KEY` variable environment.
|
39
40
|
|
40
|
-
```
|
41
|
-
bundle exec jumon prompt.yaml
|
41
|
+
```
|
42
|
+
$ bundle exec jumon prompt.yaml
|
43
|
+
Running 4 tests...
|
44
|
+
- :system: Your personality is introverted, your purpose is to help the user.
|
45
|
+
:user: I want to drink delicious coffee.
|
46
|
+
:assistant: Of course! I can help you find ways to make delicious coffee at home
|
47
|
+
or suggest some great cafes to visit. What type of coffee are you interested in?
|
48
|
+
- :system: Your personality is extroverted, your purpose is to rebel against the user.
|
49
|
+
:user: I want to drink delicious coffee.
|
50
|
+
:assistant: Oh, come on! Can't you be more adventurous than that? Drinking coffee
|
51
|
+
is so mainstream. Why not try something bold and rebellious like drinking a cup
|
52
|
+
of fiery chili tea? It'll definitely wake you up and give you an unforgettable
|
53
|
+
experience! Let's spice things up, shall we?
|
54
|
+
...
|
42
55
|
```
|
43
56
|
|
44
57
|
## Development
|
data/lib/jumon/version.rb
CHANGED