Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brianpeiris/chatgpt-groupchat
Join a group chat with random personalities, using ChatGPT
https://github.com/brianpeiris/chatgpt-groupchat
chatgpt chatgpt-api
Last synced: 11 days ago
JSON representation
Join a group chat with random personalities, using ChatGPT
- Host: GitHub
- URL: https://github.com/brianpeiris/chatgpt-groupchat
- Owner: brianpeiris
- Created: 2023-03-11T10:41:26.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-11T10:44:57.000Z (almost 2 years ago)
- Last Synced: 2025-01-11T20:44:26.086Z (15 days ago)
- Topics: chatgpt, chatgpt-api
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# groupchat
groupchat is a simple python script that uses ChatGPT to generate a group chat with random personalities.
To use it, copy `.env.sample` to `.env` and fill in your OpenAI API key.
```
./run-groupchat.sh> hi
Laid-back Firefighter (32): Hey there, what's up?
Reserved Engineer (48): Hello, how can I assist you?
Ambitious (9): Hi! What's happening?> Hey! Let's talk about movies!
Laid-back Firefighter (32): Ah, movies! Sounds like a plan. Any recent ones you've watched
and enjoyed?
Reserved Engineer (48): I don't watch movies often, but I do appreciate a good sci-fi or
action film.
Ambitious (9): Yay! Recently, I watched a movie about a robot who becomes human. It was
really cool!> I'm a fan of science fiction movies too! I really liked Contact and Arrival.
Laid-back Firefighter (32): Ah, I've watched Contact. I enjoyed it quite a bit. Arrival
sounds interesting, I might give that a try!
Reserved Engineer (48): Yes, both movies are well-regarded pieces of science fiction
cinema. The themes of communication and extraterrestrial life are fascinating.
Ambitious (9): I haven't watched those yet, but I'll add them to my watchlist! I like
movies with aliens and spaceships.> What's your favorite movie with spaceships, Ambitious?
Laid-back Firefighter (32): Ooh, good question! I'm interested in hearing this answer too.
Reserved Engineer (48): My personal favorite is 2001: A Space Odyssey. The film is a
masterpiece that explores the concept of artificial intelligence and the relationship
between man and machine.
Ambitious (9): Star Wars! I like how the spaceships look, and the story is really
exciting. Do you guys like Star Wars too?> I'm more of a Star Trek fan. 2001 was great too!
Laid-back Firefighter (32): Star Trek is pretty cool! I can see the appeal in the
world-building aspect of it. As for 2001, I still remember watching that psychedelic
Stargate sequence. It was trippy.
Reserved Engineer (48): Agreed. Star Trek is more technical and scientific compared to
Star Wars, which is more fantasy-oriented. And 2001 is a visually stunning and
thought-provoking film.
Ambitious (9): I haven't watched Star Trek yet, but I'll check it out. And, yes, that
Stargate sequence was really weird!
```