How to set the home page to be an AI bot? ex: ask.discourse.com

Is it possible to configure the homepage of this site to directly feature AI, similar to this example: https://ask.discourse.com/?

A few additional questions: (If it is paid, perhaps someone could offer a solution)

Can we enable AI access for non-registered users? Is there any logical justification for this?
After a certain level of usage, can we prompt non-registered users to register and purchase a subscription? For existing members, can we encourage them to upgrade to additional subscriptions?

Thanks

3 Likes

It should be possible, yes — in the AI plugin we’ve added a new setting called AI bot enable dedicated UX that links to a page like https://meta.discourse.org/discourse-ai/ai-bot/conversations

I haven’t tested it, but I’d expect this custom homepage component to work with the /discourse-ai/ai-bot/conversations URL: Custom Homepage for Groups

having this open to anonymous users could expose you to sudden unexpected costs, there’s also the technical limitation of it being built on our personal message system which requires an account to use… so it would be a little tricky to implement

there are no features like this at the moment, but thanks for the suggestions!

5 Likes

I attempted this, yet I was unable to modify the homepage in any way: Custom Homepage for Groups

I also tried to do the same with regular pages, but it was unsuccessful. I will try again, perhaps I made some mistakes.

Thank you for your response.

@kuaza Perhaps with something like this?

Similar, but not quite.

2 Likes

If you are self-hosting, I think you can use a simple redirect using a proxy like Nginx.

1 Like

I’ve managed to get it to work. After enabling AI bot enable dedicated UX in the DiscourseAI settings, I created a group called “Bot Test” (bot-test) and set it as the primary for a test user. then i used the custom-homepage-for-groups theme component and set the group page map setting to bot-test:/discourse-ai/ai-bot/conversations. my test user now has a homepage of the bot page.

Test user homepage:

The problem is that “back to forum” links break and clicking the logo just reloads the page (of course, since it’s the homepage). One has to awkwardly navigate out manually (by going to “/hot” in the URL address bar for example), or break out via the user menu or advanced search menu.

6 Likes

Not a problem anymore, removed that button yesterday, you need to update your instance.

5 Likes

I was unable to get it to work in any way; this is unusual. Could it possibly be due to a plugin? For example, I am doing it this way, but the normal homepage still appears:

trust_level_0:/discourse-ai/ai-bot/conversations
trust_level_1:/discourse-ai/ai-bot/conversations
trust_level_2:/discourse-ai/ai-bot/conversations
trust_level_3:/discourse-ai/ai-bot/conversations

I don’t think you can select the automatic group to be the primary group, can you? Did you check that the group is the user’s primary group?

2 Likes

Wouldn’t the Custom default homepage component setting work for this if it’s meant to be for all trust levels?

i couldn’t get that setting to work with the link. i tried a permalink too. :woman_shrugging:

1 Like