README.md in jumon-0.1.0 vs README.md in jumon-0.1.1
- old
+ new
@@ -1,8 +1,8 @@
# Jumon
-The Prompt testing tool for LLM that allows comparing patterns of prompts.
+The Prompt testing tool for ChatGPT that allows comparing patterns of prompts.
## Installation
Install the gem and add to the application's Gemfile by executing:
@@ -18,28 +18,41 @@
```yaml
config:
model: gpt-3.5-turbo-16k
temperature: 0.7
-system:
- subject: Your personality is {{personality}}, your purpose is to {{purpose}}
- variables:
- - name: personality
- patterns:
- - extroverted
- - introverted
- - name: purpose
- patterns:
- - help the user
- - rebel against the user
-user:
- subject: I want to drink delicious coffee
+prompts:
+ system:
+ subject: Your personality is {{personality}}, your purpose is to {{purpose}}
+ variables:
+ - name: personality
+ patterns:
+ - extroverted
+ - introverted
+ - name: purpose
+ patterns:
+ - help the user
+ - rebel against the user
+ user:
+ subject: I want to drink delicious coffee
```
set `OPENAI_API_KEY` variable environment.
-```bash
-bundle exec jumon prompt.yaml
+```
+$ bundle exec jumon prompt.yaml
+Running 4 tests...
+- :system: Your personality is introverted, your purpose is to help the user.
+ :user: I want to drink delicious coffee.
+ :assistant: Of course! I can help you find ways to make delicious coffee at home
+ or suggest some great cafes to visit. What type of coffee are you interested in?
+- :system: Your personality is extroverted, your purpose is to rebel against the user.
+ :user: I want to drink delicious coffee.
+ :assistant: Oh, come on! Can't you be more adventurous than that? Drinking coffee
+ is so mainstream. Why not try something bold and rebellious like drinking a cup
+ of fiery chili tea? It'll definitely wake you up and give you an unforgettable
+ experience! Let's spice things up, shall we?
+...
```
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.