# MNC RAG Chain Single Turn

### 예시 워크플로우

<figure><img src="/files/KfsC6XKpWmGiwldcYtbW" alt=""><figcaption></figcaption></figure>

* MNC RAG Chain Single Turn을 사용하여 RAG워크플로우를 만들었습니다.
  * Chat Model : LLM 서빙을 연결합니다.
  * Vector Store Retriever : 벡터 DB 및 검색기 노드를 연결합니다.
  * Input Moderation : 모더레이션 노드를 연결합니다.
  * Return Source Documents : 답변 결과로 검색 결과 청크를 전달할 것인지를 선택합니다.
  * IfElse Link : 분기 노드를 활용할때 사용합니다.
  * Additional Parameters : 프롬프트를 설정 합니다.
  * Output : 다른 chain에 전달할것인지, 워크플로우 출력으로 사용할 것인지 선택합니다.

<figure><img src="/files/ut6G9WSaCImpVwUX5vbd" alt=""><figcaption></figcaption></figure>

### 프롬프트 변경

* Additional Parameters 를 클릭하여 설정창을 엽니다.

<figure><img src="/files/TgwIzeaudnJBPyGoy9KX" alt=""><figcaption></figcaption></figure>

* RAG 프롬프트에는 {context} 가 필수로 있어야 합니다.
* 프롬프트 창 확대 버튼 엽니다.

<figure><img src="/files/LlfweVqX3TqRS3GFb5cF" alt=""><figcaption></figcaption></figure>

* 프롬프트를 입력하고 저장합니다.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://genos-docs.gitbook.io/default/v1.7.5/flowise-nodes/components/mnc-rag-chain-single-turn.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
