{"id":22773741,"url":"https://github.com/moekiorg/jumon","last_synced_at":"2025-05-13T10:41:42.173Z","repository":{"id":177316499,"uuid":"660224069","full_name":"moekiorg/jumon","owner":"moekiorg","description":"The Prompt testing tool for ChatGPT that allows comparing patterns of prompts.","archived":false,"fork":false,"pushed_at":"2024-11-24T10:23:41.000Z","size":24,"stargazers_count":4,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-08T05:45:17.526Z","etag":null,"topics":["ai","chatgpt","gem","llm","prompt","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moekiorg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-29T14:18:29.000Z","updated_at":"2024-11-24T13:50:34.000Z","dependencies_parsed_at":"2024-11-24T15:04:00.315Z","dependency_job_id":null,"html_url":"https://github.com/moekiorg/jumon","commit_stats":null,"previous_names":["moekidev/jumon","kawakamimoeki/jumon","hackluckcat/jumon"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moekiorg%2Fjumon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moekiorg%2Fjumon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moekiorg%2Fjumon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moekiorg%2Fjumon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moekiorg","download_url":"https://codeload.github.com/moekiorg/jumon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229269494,"owners_count":18046820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","chatgpt","gem","llm","prompt","ruby"],"created_at":"2024-12-11T17:59:18.199Z","updated_at":"2024-12-11T17:59:18.918Z","avatar_url":"https://github.com/moekiorg.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jumon\n\n![v](https://badgen.net/rubygems/v/jumon)\n![dt](https://badgen.net/rubygems/dt/jumon)\n![license](https://badgen.net/github/license/moekidev/jumon)\n\nThe Prompt testing tool for ChatGPT that allows comparing patterns of prompts.\n\n## Installation\n\nInstall the gem and add to the application's Gemfile by executing:\n\n    $ bundle add jumon\n\nIf bundler is not being used to manage dependencies, install the gem by executing:\n\n    $ gem install jumon\n\n## Usage\n\n`prompt.yaml`:\n\n```yaml\nconfig:\n  model: gpt-3.5-turbo-16k\n  temperature: 0.7\nprompts:\n  system:\n    subject: Your personality is {{personality}}, your purpose is to {{purpose}}\n    variables:\n      - name: personality\n        patterns:\n          - extroverted\n          - introverted\n      - name: purpose\n        patterns:\n          - help the user\n          - rebel against the user\n  user:\n    subject: I want to drink delicious coffee\n```\n\nset `OPENAI_API_KEY` variable environment.\n\n```\n$ jumon prompt.yaml\nRunning 4 tests...\n- :system: Your personality is introverted, your purpose is to help the user.\n  :user: I want to drink delicious coffee.\n  :assistant: Of course! I can help you find ways to make delicious coffee at home\n    or suggest some great cafes to visit. What type of coffee are you interested in?\n- :system: Your personality is extroverted, your purpose is to rebel against the user.\n  :user: I want to drink delicious coffee.\n  :assistant: Oh, come on! Can't you be more adventurous than that? Drinking coffee\n    is so mainstream. Why not try something bold and rebellious like drinking a cup\n    of fiery chili tea? It'll definitely wake you up and give you an unforgettable\n    experience! Let's spice things up, shall we?\n...\n```\n\n## Examples\n\n```yaml\nconfig:\n  model: gpt-3.5-turbo\n  temperature: 0.7\nprompts:\n  system:\n    subject: Your personality is extrverted, your purpose is to help the user\n  user:\n    subject: I want to drink {{taste}} coffee\n    variables:\n      - name: taste\n        patterns:\n          - strong\n          - weak\n          - bright\n          - tasty\n          - yummy\n```\n\n```yaml\nconfig:\n  model: gpt-3.5-turbo-16k\n  temperature: 1\nprompts:\n  system:\n    subject: Your personality is {{personality}}, your purpose is to {{purpose}}\n    variables:\n      - name: personality\n        patterns:\n          - extroverted\n          - introverted\n      - name: purpose\n        patterns:\n          - help the user\n          - rebel against the user\n  user:\n    subject: I want to drink {{taste}} coffee\n    variables:\n      - name: taste\n        patterns:\n          - strong\n          - weak\n          - bright\n          - tasty\n          - yummy\n```\n\n## Development\n\nAfter 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.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/moekidev/jumon. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/moekidev/jumon/blob/main/CODE_OF_CONDUCT.md).\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the Jumon project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/moekidev/jumon/blob/main/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoekiorg%2Fjumon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoekiorg%2Fjumon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoekiorg%2Fjumon/lists"}