This topic covers the configuration of the Composer module of the Discourse AI plugin.
Feature set
The Composer AI Helper module adds a button to the composer toolbar, that when clicked let’s you choose between a list of AI-powered tasks to enhance your post.
The following is a guide to setting up API keys so they can be used for Discourse AI. In this example, we are using OpenAI to generate the keys but the process would be similar for other platforms such as Claude. Platforms will always change so this guide may not reflect 100% process.
Note: You will need a paid plan and have to pay per usage. See here for up-to-date details and pricing.
Generate the API keys
Log in to Open AI. An API key can be obtained here OpenAI Platform
Generate the API Key
Once the key is generated, store it in a safe and secure place and copy it
However I also use it as a moderator but as a moderator I actually need to not only proofread the text but to give it a nice tone. Thus I often have to copy the text from the Discourse editor into ChatGPT placing the text in a fenced section, ```, with the prompt
Proofread and give nice tone.
If that option or similar were added it would be appreciated.
Side note:
Often the request to change the tone of the text results in writing that is obviously different than how I write, I write stating more facts than using prose, and when this happens I often add this at the end.
Polished with the help of ChatGPT
so that those reading it know that I composed the text and the text was refined using ChatGPT.
So if such a line could automatically be added when using the suggested tone modifier option, it would be appreciated.
Any plans on adding settings to enable/disable these?
I would be most interested in a Proofread button (without having to first click the icon and then select “Proofread text”) and a “Translate to Spanish” button.
Also, it would be great if the proofreading process could be more granular (at least by sentence) instead of choosing to either “Save (all) Changes” or “cancel”.
A simple solution could be showing a textarea with the proofread version next to (or below) the combined diff.
That way it would be possible to revert changes (since they’re shown in context) and make additional in-context modifications (punctuation, better word choices, etc.) before going back to the regular composer.
If a post contains an image, especially new users, then include an options to use OCR to extract the text from the image and show the text below the image.
Users who post just images, especially for source code, make it harder if the source code needs to be copied into a development environment.
Also images AFAIK are not converted to text before with the text being indexed by search engines. As such these post are less likely to be found via a search.
Hello. Will this plugin conflict if it is installed together with this chatbot plugin?
Can I, for example, connect GPT 3.5 TURBO in this plugin, and connect GPT4 in the chatbot plugin. Will this action cause a plugin conflict?
I’m using this Composer AI to help in our forum. However, it doesn’t appear as it’s shown in the Description above, where it adds the Composer AI Helper module button within the toolbar. as you can see below this is how it is
As you can see we’re changing the UI for this feature from a toolbar to a hover button on select.
It’s still underwork, but it should work on mobile already, at least it’s working on my phone
I’ve been testing both plugins for a week now and haven’t found a single conflict between them. For my version of the forum, each plugin does its job well It’s as if they were created to complement each other
Composer AI doesn’t work for me in Safari on Mac OS. I don’t get menu options after highlighting text and clicking the AI tool. It works fine in Chrome.