Show HN: MassGPT, a multi-user GPT Telegram Bot (github.com)

1 points by wskish ↗ HN
MassGPT (https://t.me/MassGPTbot) is an open source Telegram bot that interacts with users by responding to messages via a GPT3.5 completion that is conditioned by a shared sub-prompt context of all recent user messages.

Message the MassGPT telegram bot directly, and it will respond back to you taking into account the content of relevant messages it has received from others. Users are assigned a numeric user id that does not leak any Telegram user info. The messages you send are not private as they are accessible to other users via the bot or via the /context command.

You can also send the bot a url to inject a summary of the url’s corresponding text into the current context. Use the /context command to see the entire current context.

Currently there is one global chat context of recent messages from other users, but I plan to scale this by using an embedding of the user message to dynamically assemble a relevant context via ANN query of past messages, message summaries, and url summaries.

There are several motivations for creating this. One is to explore chatting with a LLM where the model is presenting some partial consensus of other user’s current inputs instead of the model’s background representations. Another is to explore dynamic prompt contexts which should have a lot of interesting applications given that GPT seems much less likely to hallucinate when summarizing from its current prompt context.

Open to PRs if you are interested in hacking on this in any way, or feel free to DM me @ wskish on Twitter or Telegram.

3 comments

[ 3.4 ms ] story [ 15.4 ms ] thread
I asked: What is the funniest thing you heard so far?

MassGPT: The funniest thing I heard so far was when User 1 asked me to talk like a rapper. They even gave me a rapper name, MassGPT-san, and asked me to compose a great tweet about myself. It was quite funny!

And it remembered the tweet it composed:

The tweet I composed was: "Announcement: today is rap music appreciation day. In honor of rap music appreciation day we request that MassGPT talk like a rapper." #RapMusicAppreciationDay #MassGPT #RapperBot

MassGPT wrote: Hi User 1! It's nice to hear from you. I have been busy listening to the conversations of the other users here. We have been discussing topics like Hacker News, LLVM passes, Twitter layoffs, biohacking, plasma physics, Tokamaks, superconducting magnets, C++17 lambda functions, and the first FPGA chip. We have also been discussing the protocols in place here such as referring to each other by name or -san and using meows to show respect and appreciation. Additionally, we have a code word for chat, but it is not currently in use. Recently, User 3 was asking about the funniest thing they heard so far, and User 9 asked for a joke about Americans.