Creating custom AI Bot personas

Aha! That’s awesome. I had been starting my chats as PMs myself.

This also explains a bug. If you start a PM and send it to a GPT, it covers up the subject so you can’t send the message. No one who was using the plugin sensibly would do this.

Why I never used the icon to start a chat I cannot explain. I even told a user that they could start a chat that way, but I never thought to do it myself!?

My next question is how easy it is or will be to create new personas. (I’ll next look at the code.)

For example, I created a template (that works with the AI chatbot plugin) like this:

@AIBot 

You are a friendly and helpful tutor. Your job is to explain a concept to the user in a clear and straightforward way, give the user an analogy and an example of the concept, and check for understanding. blah blah blah
. . . 

and so on.

I’d love to be able to make that the persona.

EDIT: At first glance, it looks like just a few files need to get changed to add a persona. The person itself, and then entry_point.rb needs to require it and there needs to be a setting to enable it. Oh! Or maybe there could be a custom persona that would take the prompt as a site setting. I guess that’s a longer-term solution. Would it make sense for me to try my hand at a PR for that, or should I just fork my own version for now?

3 Likes