Discourse AI - Helper

:bookmark: 이 가이드는 Discourse AI 플러그인의 Helper 기능을 설정하고 사용하는 방법에 대해 설명하며, 해당 기능의 기능과 구성 옵션을 포함합니다.

:person_raising_hand: 필요한 사용자 권한: 관리자

Helper는 주제 생성, 게시물 작성, 콘텐츠 읽기 등 커뮤니티 내 사용자 상호작용을 돕습니다. 사용자 생산성을 향상시키고 기여물의 전반적인 품질을 개선하도록 설계되었습니다.

기능

컴포저(Composer) 내부

:information_source: 참고: 이 데모에서는 컴포저에 이미 작성된 콘텐츠가 있었습니다.

Helper는 새 주제나 답변을 생성할 때 다음과 같은 기능을 제공합니다:

  • 콘텐츠 기반 주제 제목, 태그, 카테고리 생성
  • 텍스트 교정 - 문법 및 철자 검사 포함
    • Windows 키보드 단축키: CTRLALTP
    • MacOS 키보드 단축키: P
  • 선택한 텍스트를 포럼의 기본 언어로 번역
  • Markdown 표 생성
  • 다양한 텍스트 변환을 위한 사용자 지정 프롬프트
  • AI가 제안한 변경 사항 보기 및 관리
  • 업로드된 이미지에 대한 AI 기반 캡션 생성
  • 작성된 날짜를 Markdown 친화적인 Smart dates로 변환

주제 및 게시물 읽는 동안

포럼을 탐색할 때 Helper는 다음과 같은 작업을 수행할 수 있습니다:

  • 선택한 텍스트를 사용자의 인터페이스 언어로 번역
  • 주제 컨텍스트 내에서 선택한 텍스트의 의미 설명
  • 텍스트 교정 - 문법 및 철자 검사 포함
  • 다양한 텍스트 변환을 위한 사용자 지정 프롬프트
  • Helper - 자동 채팅 스레드 제목

Helper 활성화

사전 요구 사항

제공업체에서 최소 하나의 대규모 언어 모델(LLM)을 구성해야 합니다.

:information_source: Discourse에 의해 호스팅되는 사이트인 경우

LLM 목록에서 CDCK Hosted Small LLM을 선택할 수 있습니다.

시작하려면 Discourse AI - 대규모 언어 모델(LLM) 설정 페이지를 통해 구성할 수 있습니다.

구성

  1. 관리자설정Discourse AI로 이동
  2. discourse ai enabled 설정이 체크되어 있는지 확인
  3. AI 관리자 패널의 “Features” 탭 클릭
  4. “Unconfigured” 기능 필터를 선택하고 Helper 섹션을 찾음
  5. Helper 섹션의 Edit 클릭
  6. ai helper enabled를 체크하여 Helper 기능 활성화
  7. 여기에 있으면 Helper 관련 기타 설정을 구성 [1]

Helper 기능은 교정, 제목 제안, 설명, 게시물 일러스트레이터 등 여러 하위 집합으로 구성됩니다. Helper 설정에서 각 기능에 할당된 기본 에이전트를 사용하거나 대체 에이전트를 구성할 수 있습니다.

에이전트 및 해당 에이전트에 연결된 LLM 모델을 관리하려면 관리자 → 설정 → Discourse AI → Agents로 이동하십시오.

Helper 기능 사용자 지정

Helper 기능 페이지에서 ai helper enabled features 설정을 사용하여 특정 Helper 기능을 선택적으로 활성화하거나 비활성화할 수 있습니다. 사용 가능한 옵션은 다음과 같습니다:

  • suggestions: 제목, 카테고리, 태그에 대한 제안 버튼 제어
  • context_menu: 사용자 지정 프롬프트, 번역, 교정을 위한 메뉴 관리
  • image_caption: 자동 캡션 또는 “Caption with AI” 버튼을 통해 AI 기반 이미지 캡션을 켭니다

기술적 FAQ

제목, 태그 또는 카테고리 옆의 AI 버튼을 볼 수 없는 경우?

  • 컴포저 내 AI Helper는 표시되고 작동하려면 컴포저에 최소 40자의 입력이 필요합니다.

“Explain” 기능은 어떻게 작동하나요?

  • Explain은 LLM이 출력을 생성하기 위해 주제 제목, 게시물 내용 및 선택된 텍스트를 컨텍스트로 사용합니다.

사용자 지정 프롬프트의 용도는 무엇인가요?

  • 사용자 지정 프롬프트는 톤 변경 또는 특정 언어로 번역하는 등 다양한 목적으로 사용할 수 있습니다.

Helper의 번역 정확도는 어떠한가요?

  • 일반적으로 신뢰할 수 있지만, 드문 언어의 경우 정확도가 낮을 수 있습니다.

주의 사항

  • 제3자 LLM 제공업체와 관련된 비용 관리를 돕기 위해 Helper 액세스를 특정 사용자 그룹으로 제한하는 것을 권장합니다.

  1. 예를 들어:

    • composer ai helper allowed groups를 사용하여 Composer Helper 사용 제한

    • post ai helper allowed groups를 사용하여 Post Helper 기능 액세스 제한

    ↩︎
8개의 좋아요

Sorry I can’t give this topic a like at present. :slightly_frowning_face: Don’t take that to mean I don’t like what the AI is doing, I think that part is great.

The video started from a Draft and most users will start from New Topic so it was a bit confusing for me when I tried this on the OpenAI forum where this is active thinking it should work.

When I started with New Topic I had to enter the title, select a category, skipped adding tags and add two lines in the post before the magic AI options appeared.

Then after adding more text the AI buttons appeared.


I do find the post quite useful and you did a nice job, just needs some clarification for users not use to this technology.

Side note:

In the early days of the Discourse AI there was the ability to have the AI generate a new title for the topic based on the existing text. I used this often as a category moderator when they titles ran long, think wrapped around when viewing in a list. Then the way to do this vanished; I may have missed how it was supposed to be done but now it is back with this.

As a category moderator one can not edit a post and the AI option is next to the title for changing.

Was looking for that in the announcement, might be worth a mention. :wink:


The following post contains some screenshots.

1개의 좋아요

Hey @EricGT so the video I put in a note that says that the content is already there. It was trying to make the demo video as short and succinct as possible.

I have the following documented for that reason!

1개의 좋아요

Little update on this one…

You can now select/deselect AI helper features using the setting ai_helper_enabled_features: :partying_face:

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

3개의 좋아요

 ai_helper_model: We couldn't get a response from this model. Check your settings first.

What could be the problem? I’ve identified the Open AI key.

Is your OpenAI API key working? Can you issue a request for that same model from your PC?

2개의 좋아요

It seems like it’s showing as unused in the OpenAI dashboard. But could it be because the configuration wasn’t completed? How can I verify this on my local machine?

What features are available, and what does each one do?

1개의 좋아요

The AI helper in the composer encompasses three main features including suggestions, context_menu, and image_caption

The setting allows us to have granular control of the AI helper by being able to enable/disable those main features.

  1. suggestions refers to the the suggestion buttons that appear in the composer next to the title/category/tags. Clicking the suggestion button can suggest topic titles, category, tags, etc.
  2. context_menu refers the the menu that appears when you select a portion of text in the composer, i.e. the menu that pops up with the custom prompt/translate/proofread/etc
  3. image_caption refers to the “Caption with AI” button that appears when you hover over an uploaded image in the composer preview. This allows you to generate a caption based on the contents of the image.
1개의 좋아요

Instead of a setting for which features are enabled, how about a setting for each, for which groups each is enabled for (if any)?

And actually, also… could the context menu items be separated? Ideally the same suggestion — list of groups for each.

I think eventually we would like to move to a system to provide more granular control of features within AI Helper and in other AI features, something in the radar for the future

1개의 좋아요

I think “translate to English” is outdated.

Now it’s translate to user’s interface language

Now it’s translate to forum’s default language

3개의 좋아요

Is there any way do add additional prompt or instructions to the translation prompt?

In our case we want to offer translations EN->DE and add the instruction to use the informal you (Du) instead of the formal (Sie) you by default.

6 posts were split to a new topic: Will RAG Support PDF Files in the Future?

Really wanted to use strike-through with the text but can’t edit the post.

The first post is really nice and quite useful, so I gave it a thumbs up. I really do appreciate the extra effort put into your post and look forward to reading more.

1개의 좋아요

게시물이 새 주제로 분리되었습니다: AI 요약은 어떻게 번역하나요?