I took a look at this briefly because of my historical involvement/interest with 's in the Discourse space.
The authorisation of the API calls to the web-based ChatGPT is currently quite involved (and annoying, forcing you to mimic a web browser, for example) and some interim open source API wrapper solutions have since failed as theyāve tightened this up.
I suspect, for the time being, they are actively trying to make reverse engineering the official website API calls hard[1] and it might be worth waiting for the official API for a fully conversant ChatGPT which will surely come to avoid this complexity and any abuse of the terms of service that you may risk? Looking at OpenAIās Discourse ( ), this appears to be others thinking.
Noting there is already an official OpenAI API but this doesnāt support ongoing conversations in quite such a convenient manner (you appear to have to send all history every time in a context variable! That is too wasteful (and ultimately expensive) for me to bother in the meantime! ).
@philip_rhoades or anyone else here ā did you end up implementing a Discourse bot with GPT-3?
I envision bots for bootstrapping community activity, who can be configured to respond in different styles to comments made by visitors or each other. Youād have the main forum tooic, the topic of the thread, and the first post in it as inputs. The bot would use the API to generate some text and make sure it is different enough than the other bots. Each would discuss a different aspect of the original post. Then, it would let human discussion follow. If no one responds on a thread for a week, a bot may resurrect that thread by replying again, this time to one of the previous posts.
The bots wonāt really be able to link to outside articles, but thatās coming, it can be a different process to do that.
To be ethical, every bot would need a profile that says itās a bot powered by GPT-3.
Anyone interested in writing a Discourse plugin to do that? I would pay for this from our company. When it comes to AI, this is one area where we prefer to NOT open source things for fear of being abused (although it is fairly trivial for someone else to do it and open source it).
Are there any Discourse plugins that facilitate the creation of synthetic accounts that use cron to post? How do they work?
I would definitely be interested, but I would suggest a pause if you want a conversational bot until they provide the full official conversational API (any hack is likely to break T&Cs)
If you donāt mind a simple single call and response solution, work could definitely start soon. Feel free to PM me.
Right, I actually donāt even want ChatGPT. Just GPT-3. Is there anything against the terms of service when it comes to what I suggestedā¦ it wouldnāt be interactive but just one post per few days by each bot. It is not āastroturfingā since the bots are only in our forum and are clearly labeled in their profiles:
Wait, as often happens when I start writing, I just realize something! Since we do not want other forum owners to copy or resell the code in this case, we can just develop a closed source service that creates accounts on discourse and fills out their profiles, and then periodically posts as those accounts! Does discourse have some sort of Whitelist four accounts to prevent them from being shadow banned based on all coming from the same IP address or something?
This is not a recommendation; just pointing out a site related to transformers, the T in GPT (Generative Pre-trained Transformer), that is worth a look.
While I do understand the concepts of neural networks, transformers and GPT, I personally donāt have the resources to train them further do to the high cost but do keep up on them. Also I am aware of what I consider some of their Achillesā heels [1]. Donāt take that to mean I donāt like them I just feel that out of the box they are not ready for prime time as I need.
[1] Dr. Vaughan Prattās 1994 Qs to Evaluate Cyc, Asked of ChatGPT (ref )
Learn how to build an AI that can answer questions about your website
This tutorial walks through a simple example of crawling a website (in this example, the OpenAI website), turning the crawled pages into embeddings using the Embeddings API, and then creating a basic search functionality that allows a user to ask questions about the embedded information. This is intended to be a starting point for more sophisticated applications that make use of custom knowledge bases.
OpenAI has a Discourse forum!!! which is not so easy to find.
They make it easy to find the Discord site but I avoid those like the plague.
Here is a great implementation of a GPT bot that is able to use the entire website context built ontop of supabase (open source):
I suspect, Discourse and supabase would be a great alignment here. A plugin that undergoes forum embeddings using the approach in that video above, and then creates a user backed by that would be amazing.
I would certainly be interested. But unfortunately, I think if itās not in the open source space we will be wasting our time and effort, as the most maintained plugin will end up being the one that is open source. And if you create and use a closed source version you will be stuck with a maintenance burden.
If you are both willing to financially join, I am in the position to make it a reality. And quite soon if desired. But it would need to be under the Apache-2.0 license.
I also suspect this would seriously help the Discourse company if a plugin like this was able to be an official plugin. Is that something the Discourse company might be interested in?
I might be able to get a matched funding grant from the government where I live in order to support the creation of this. If you are keen to financially join, let me know. Iāll be happy to run the hosting infrastructure, and anyone financially contributing at the start to the plugin creation would be able to have a significant discount on the seamless hosted solution that indexes your forum, and creates intelligent GPT bots for your discourse.
Hey, some good news regarding our team here at Discourse.
For the next release cycle, we at Discourse have elected AI as of our priorities for new features and plugins. That means that we now have a dedicated team working on features like LLM integration, and will present those soon here on Meta.
That is some great news! Thanks for the heads up, I really donāt want to be reinventing the wheel when youāre going to be building something amazing .
It seems like a smart decision. I have learned quickly through utilizing ChatGPT and receiving feedback from users who lack technical knowledge, that they are not familiar with the concept of prompt engineering. Hence, I would like to share this resource:
If you are seeking individuals to test and provide feedback on early releases, please include me and I would be happy to assist if I am available.