# AI 에이전트가 포럼 관련 질문에만 답변하도록 제한하는 방법은?

**URL:** https://meta.discourse.org/t/how-can-i-restrict-an-ai-agent-to-answer-only-questions-related-to-my-forum/409672
**Category:** Support
**Tags:** ai, ai-bot
**Created:** [8월 10, 2026, 7:26오전 UTC](https://meta.discourse.org/t/how-can-i-restrict-an-ai-agent-to-answer-only-questions-related-to-my-forum/409672 "2026-08-10T07:26:15Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Karthik\_K1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/karthik_k1/32/489159_2.png) [@Karthik\_K1](https://meta.discourse.org/u/Karthik_K1)
#### Post date: [8월 10, 2026, 7:26오전 UTC](https://meta.discourse.org/t/how-can-i-restrict-an-ai-agent-to-answer-only-questions-related-to-my-forum/409672/1 "2026-08-10T07:26:15Z")

</div>

포럼에 Discourse AI를 설정하고 있으며, **Gemini 2.5 Flash, LiteLLM 및 Google Vertex AI** 를 통해 작동하는 AI 봇/에이전트를 구축했습니다.

봇은 정상적으로 작동하지만, 그 범위(스콥)에 문제가 있습니다.

예를 들어, 제 포럼은 비즈니스에 특화된 커뮤니티입니다. 봇에게 다음과 같이 질문하면:

> “우버(Uber)의 소유주는 누구인가요?”

질문이 제 포럼과 전혀 관련이 없음에도 불구하고, LLM의 일반 지식을 활용하여 답변합니다.

이로 인해 두 가지 문제가 발생합니다:

1. 봇이 범용 Gemini/ChatGPT 인터페이스가 아니라 **포럼 특화 지식 어시스턴트** 로 기능하기를 원합니다.
2. 사용자가 임의의 질문을 하여 제 LLM 크레딧을 소모하는 것을 원치 않습니다.

이상적으로는 다음과 같은 흐름이 되기를 바랍니다:

사용자가 질문  
↓  
이 포럼과 관련이 있는가?  
↓  
아니오 → 정중하게 거절  
↓  
예  
↓  
포럼 지식 검색  
↓  
포럼 콘텐츠 기반 답변 생성

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/e/c/cec980cbbbfa228461c06fa5cddde7b7413e4e04.png)

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-restrict-an-ai-agent-to-answer-only-questions-related-to-my-forum/409672)._
