Discourse Narrative Bot Quote Text Customization

סיכום מבוסס בינה מלאכותית

User fearlessfrog is trying to customize the quotes provided by the default narrative bot in Discourse. They edited the quotes through the site texts customization /admin/customize/site_texts?q=discourse_narrative_bot.quote, but the changes are not reflecting when using the ‘discobot quote’ command. After investigation, fearlessfrog discovered that the quotes are fetched from an external API, not local settings. As a temporary workaround, fearlessfrog modified the quote_generator.rb file by altering a switch, which solved the issue, but is not a recommended solution.

We’re editing the quotes provided by the default narrative bot by searching down from the following:

/admin/customize/site_texts?q=discourse_narrative_bot.quote

We’ve edited the authors and quotes for the 10 quotes, but we are finding that the quotes are not changing when we use a ‘discobot quote’ command.

We’ve tried restarting the app, and then when that didn’t work rebuilding the container but we can’t get them to change. When we ask for a quote it provides the old quotes author/text, even though we have edited them all.

Is there another setting we need to change? Thanks for any help.

We are on v2.3.0.beta4 +20

Ah, looks like we’ve misunderstood what those fields are for. It uses an external API to get the quotes, not local settings. That’s a shame.

Just temporarily we altered the switch here, and it works great. Obviously not a great way to do it, but thought it might help others in the future.