Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nowaythisworks/the-exchange-student
Ever wondered what would happen if the Exchange Student joined your group chat?
https://github.com/nowaythisworks/the-exchange-student
discord gpt-3 natural-language openai
Last synced: 6 days ago
JSON representation
Ever wondered what would happen if the Exchange Student joined your group chat?
- Host: GitHub
- URL: https://github.com/nowaythisworks/the-exchange-student
- Owner: nowaythisworks
- License: mit
- Created: 2021-11-14T20:22:00.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-14T21:03:15.000Z (about 3 years ago)
- Last Synced: 2024-11-08T21:52:00.292Z (2 months ago)
- Topics: discord, gpt-3, natural-language, openai
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# The-Exchange-Student
Ever wondered what would happen if the Exchange Student joined your group chat?## The Exchange Student
This project simulates a conversation between you and an exchange student. I made it for fun. It uses OpenAI's GPT-3 to create a realistic and contextual conversation. You can talk to it about anything. It fooled some of my friends in its realism.
## Backend
This project uses [Discord-SCUM](https://github.com/Merubokkusu/Discord-S.C.U.M/) to simulate a user, but can easily use [Nextcord](https://github.com/nextcord/nextcord) or [Discord.JS](https://github.com/discordjs/discord.js) or any other chat API wrapper.## Setup
1. You will need access to the [OpenAI API Private Beta](http://beta.openai.com/)
2. Plug your tokens into the environment variables file
4. Have Fun (avg. token cost is ~$1.5/40 messages)## Todo?
- Currently, the bot can only read the context from the past two conversations. I would like to increase this to 3 or more, but that would drastically increase API overhead and then cost as a result.