AI를 활용한 자동 응답

Currently, through the Discourse Automation plugin, you can generate responses to topics based on keywords that get detected. This option is available as part of Auto Responder script and can be configured through the List of word/answer pairs option. Additionally, you can use AI triage to provide canned responses on topics based on LLM prompts, its results and post context.

The feature request idea here is to put an AI spin using an LLM to decipher what’s written through customizable prompts instead of relying on keywords. The LLM can then intelligently respond instead of just using canned responses.

Curious to hear if other people are interested in something like this and what you would use it for. Example use-cases are always appreciated!

10개의 좋아요

Can you give a few examples of this working, either as text here or links to real uses. Thanks.

3개의 좋아요

:sunflower:

  • Allowing the Original Poster to Choose AI Auto-Reply
  • Automatic Replies for Specific Subforums
  • Automatic Replies Based on Tags (e.g., “Homework”)
  • Automatic Replies for Unanswered Posts After 3 Days
3개의 좋아요

This does some of those:

2개의 좋아요

Absolutely! There are countless use cases for this. Think of some basic support bot: user posts in “Help” category because they don’t know how to use some Discourse functionality. Then there can be a designated persona which automatically responds to each new topic in that category. Coupling this with RAG, tools, and detailed prompt engineering, you can get quite creative.

Hypothetically each category could have its own “category expert bot” then.

2개의 좋아요

Well, that one I linked does exacly that. And that is how I used it (past sentence because I changed the approach, not because ot failed)

2개의 좋아요

This is in progress here:

https://github.com/discourse/discourse-ai/pull/1126

The idea is that you can select a tool to do the triage, it in turn can create topics, like stuff, do whatver you want. I hope to continue work on it soon.

8개의 좋아요

This came in internally as a request, so exploring the idea based on community examples and use-cases, which Sam is now working on

An example for me would be nudging users to post in the right place. I.e, if a topic seems like a mismatch with the category, instead of making that change automatically, perhaps replying in the topic suggesting other categories

5개의 좋아요

Our use case for this is that when a user posts a question in our Discourse we would like AI to leverage our trained model to give a first response to the first post. We’re trying to give the user a quick, educated response with AI, with us following up if needed.

I do love the idea of having an AI category expert per category.

6개의 좋아요

This is now live … sneak peak:

Will work on documenting tomorrow. We have what I would call mode 1 and 2 implemented:

  1. Ultra trivial, select target and unconditionally reply (category / tag / pm group etc)
  2. Triage + Responder, which allows you to triage and then respond dynamically with llm triage

I also implemented (3) mega sophisticated mode - which is still in progress and disabled for now.

  1. Triage using AI tool

This is unfinished, but when done will allow for some very fancy stuff like triaging using an LLM and then routing to the correct persona and doing other extremely complicated things.

We will work on documentation tomorrow.

10개의 좋아요

Personally, I don’t like the idea of auto-responding due to the risk of annoying our users too much (but maybe we’re spoiled with a decent reply rate to our new topics from our users).

However, I like this use case the most:

We actually have something like this automated with an API for years now, where we reply with a canned reply after 24 hours with no replies on a topic. Being able to have this canned reply augmented with LLMs would be fantastic (as long as there is a toggle to conditionally reply only on unanswered topics after x hours).

3개의 좋아요

Whispers (which is a mode we support) is one way around this, use it to assist moderators.

I also think that some fancy flows can reduce a lot of risk here (it will have to wait for tools)

  • Craft a response
  • Ask LLM to gauge how much value the response adds from 1 to 10
  • If 8 or higher then post response

I love this idea, it will require a new type of automation trigger, going to have to think about it. This type of “trigger on topics in category X that have not gotten any response after a day - check every 10 minutes” is not a trigger we have at the moment… we need to figure out how to add it to automation.

We have a “stalled topic” trigger but I don’t think it has the ability to “bypass” on “has a reply”, we may need to expand it.


Additionally for API integrations a “just answer this topic with this persona” action would be pretty amazing and very very easy to build.

6개의 좋아요

This is now available here

5개의 좋아요

@hel_Sinki, @loginerror, Falco가 방금 이 PR을 릴리스했습니다:

4개의 좋아요

FEATURE: Add stalled_topic trigger to AI automation scripts - Pull Request #37728 - discourse/discourse - GitHub 에서 AI 스크립트에 정체(stalled) 트리거를 추가했습니다.

ai_tool_action와 함께 사용하면 논의된 워크플로우 중 많은 것을 수행할 수 있습니다.

5개의 좋아요

이 기능을 만들어 주셔서 감사합니다. 오늘 테스트해 봤는데, 정상적으로 작동하는 것 같습니다.

한 가지 발견한 점은 AI 도구 매개변수를 설정할 수 없다는 것입니다. 대신 값이 하드코딩되어 있어야 합니다(또는 매개변수가 설정되지 않았을 때 사용할 기본값이 내장되어 있어야 합니다). 큰 문제는 아니지만 참고할 만한 점입니다.

어쨌든 이 기능을 만들어 주셔서 다시 한번 감사합니다!

2개의 좋아요

내가 가진 아이디어 중 하나는 새로운 시크릿 기능을 통해 도구에 정보를 공급할 수 있도록 하는 것입니다. 이는 관련성이 있다고 생각합니다.

2개의 좋아요