{"id":22555838,"url":"https://github.com/0plus1/parleygpt","last_synced_at":"2025-03-28T11:13:16.762Z","repository":{"id":167443116,"uuid":"643061645","full_name":"0plus1/parleyGPT","owner":"0plus1","description":"A node based argument engine between two prompts","archived":false,"fork":false,"pushed_at":"2023-05-20T07:11:04.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-02T11:29:22.337Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/0plus1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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-05-20T02:02:03.000Z","updated_at":"2023-11-23T04:17:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"d8e47a0e-cf1d-47ec-9349-7cbd564cd8cd","html_url":"https://github.com/0plus1/parleyGPT","commit_stats":null,"previous_names":["0plus1/parleygpt"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0plus1%2FparleyGPT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0plus1%2FparleyGPT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0plus1%2FparleyGPT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0plus1%2FparleyGPT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0plus1","download_url":"https://codeload.github.com/0plus1/parleyGPT/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246017731,"owners_count":20710240,"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":[],"created_at":"2024-12-07T19:09:06.908Z","updated_at":"2025-03-28T11:13:16.752Z","avatar_url":"https://github.com/0plus1.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![MIT](https://img.shields.io/github/license/0plus1/parleyGPT)\n\n# Parley GPT\nA node based chatGPT argument engine between two prompts.\n\n## Background\nI have been playing with some wild prompts exposed as bots in one of my friend's telegram group chats.\nThese bots have provided some good entertainment and that inspired me to wonder: \"What would happen if these prompts would start arguing?\".\n\nThe idea behind this project is to provide two diverging prompts, instance them and feed the responses to each other as a parley between two LLMs.\n\n### Examples\nIn the examples folders there are some example dialogues to showcase the potential.\n\n[John Wick and Gandalf](./examples/wick-and-gandalf.md)\n\n[Rocky Balboa and Jar Jar Binks](./examples/rocky-and-binks.md)\n\n[A drunk and a dream interpreter](./examples/drunken-dreams.md)\n\n[Hello kitty and Voldemort](./examples/hellokitty-and-voldemort.md)\n\nAfter running several tests, I found that the results can be very different, even with the exact same parameters.\nWith fictional characters, after running more than 6 iteration, the dialogue starts to become stale.\n\nIf you created any fun dialogue please feel free to share by opening a PR, would love to see what you come up!\n\n## Install\n\nClone the repo then run `yarn install`\n\nRequires `node \u003e= 18`, to manage node version consider using [nvm](https://github.com/nvm-sh/nvm)\n\n### Usage\n\nCreate a local .env file with all the required vars:\n\n* `OPENAI_API_KEY` Your OpenAI key\n* `ITERATIONS` Number of dialogues\n* `INTERLOCUTOR_ONE_PROMPT` Prompt for the first interlocutor\n* `INTERLOCUTOR_ONE_NAME` Name of the first interlocutor\n* `INTERLOCUTOR_TWO_PROMPT` Prompt for the second interlocutor\n* `INTERLOCUTOR_TWO_NAME` Name of the second interlocutor\n* `TOPIC` Conversation starter, will be asked to the first interlocutor, then the conversation carries anonymously\n* `DEBUG` Print debug info\n\nRun `yarn dev`.\n\n## Roadmap\n\n- ✅ MVP\n- Types coverage\n- Tests\n- Debug and error catching\n- Web UI\n- Publish as a package\n- Code organisation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0plus1%2Fparleygpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0plus1%2Fparleygpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0plus1%2Fparleygpt/lists"}