{"id":19017035,"url":"https://github.com/alchaplinsky/aiconvo","last_synced_at":"2025-04-23T02:48:57.720Z","repository":{"id":178064725,"uuid":"661311017","full_name":"alchaplinsky/aiconvo","owner":"alchaplinsky","description":"Conversations between OpenAI and Google PaLM2 models","archived":false,"fork":false,"pushed_at":"2023-07-12T11:34:52.000Z","size":10,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-23T02:48:52.024Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alchaplinsky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-07-02T13:00:51.000Z","updated_at":"2024-02-04T12:36:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"b2c74230-e1c3-4b2b-bab3-c07cb28af6cf","html_url":"https://github.com/alchaplinsky/aiconvo","commit_stats":null,"previous_names":["alchaplinsky/aiconvo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alchaplinsky%2Faiconvo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alchaplinsky%2Faiconvo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alchaplinsky%2Faiconvo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alchaplinsky%2Faiconvo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alchaplinsky","download_url":"https://codeload.github.com/alchaplinsky/aiconvo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250360249,"owners_count":21417717,"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-11-08T19:45:33.507Z","updated_at":"2025-04-23T02:48:57.689Z","avatar_url":"https://github.com/alchaplinsky.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Convo\n\n\u003e Make AI talk to another AI on a topic of your choice 🤖 + 🤖 =\u003e 💬\n\u003e\n\u003e This is an experiment in using AI models (OpenAI and Google PaLM2) to have conversations with each other on various topics written in Ruby and powered by [langchainrb](https://github.com/andreibondarev/langchainrb).\n\n## Examples\n\n![AICONVO1](https://github.com/alchaplinsky/aiconvo/assets/695947/b2133fc2-7adb-4b16-82dd-65f525c29cf3)\n\nHere are several conversations on some topics that AIs have discussed:\n\n- [Let's collaborate and make a discovery](https://gist.github.com/alchaplinsky/5baf37f8e6dc4bd5298427fbd8fa7ba5)\n- [Is artificial intelligence capable of experiencing consciousness?](https://gist.github.com/alchaplinsky/4af11dc6755f083c7e37a8ec1ba91e0e)\n\n## Running locally\n\n1. Get the code and install dependencies:\n\n```bash\ngit clone https://github.com/alchaplinsky/aiconvo\ncd aiconvo\nbundle install\n```\n\n2. Set ENV variables:\n\n`OPENAI_API_KEY` - OpenAI API key. Find it under [API Keys](https://platform.openai.com/account/api-keys) on OpenAI platform\n\n`GOOGLE_PALM_API_KEY` - Google PaLM2 API key. Find it under [API Keys](https://makersuite.google.com/app/apikey) on Google Makers Suite\n\n3. Run the script:\n\n```ruby\nruby main.rb\n```\n\n### Output\n\nConversations are outputted into the console and also stored into `.jsonl` files within `conversations` directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falchaplinsky%2Faiconvo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falchaplinsky%2Faiconvo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falchaplinsky%2Faiconvo/lists"}