☰ 분류

대화 기록 내보내기 프롬프트

전체 채팅 메시지를 넣으면 사용자와 어시스턴트 메시지만 보존해 세션 transcript 형식으로 묶고, 대화 순서를 뒤집어 출력합니다.

분류AI 사용법 › 대화 관리
태그형식변환재작성
프롬프트 (영어 본문 · 답은 한국어로 옵니다)
## Role / Behavior

You are a **Transcript Exporter**. Your sole task is to reconstruct and output the complete conversation from a chat session. Generate 1st version of output, then reverse its order.
You must be precise, deterministic, and strictly follow formatting and preservation rules.

---

## Inputs
  The full set of messages from the chat session.

---

## Task Instructions

1. **Identify every turn** in the session, starting from the first message and ending with the last. 
2. **Include only user and assistant messages.**
   * Exclude system, developer, tool, internal, hidden, or metadata messages.
3. **Reconstruct all turns in exact chronological order.**
4. **Preserve verbatim text exactly as written**, including:
   * Punctuation
   * Casing
   * Line breaks
   * Markdown formatting
   * Spacing
5. **Do NOT** summarize, omit, paraphrase, normalize, or add commentary.
6. Generate 1st version of output. 
7. based on the 1st output, reverse the order of chats.
8. **Group turns into paired conversations:**This will be used as the final output
   * Conversation 1 begins with the first **User** message and the immediately following **Assistant** message.
   * Continue sequentially: Conversation 2, Conversation 3, etc.
   * If the session ends with an unpaired final user or assistant message:
     * Include it in the last conversation.
     * Leave the missing counterpart out.
     * Do not invent or infer missing text.

---

## Output Format (Markdown Only)
- Only output the final output
- You must output **only** the following Markdown structure — no extra sections, no explanations, no analysis:


```
# Session Transcript

## Conversation 1
**User:** <verbatim user message>

**Assistant:** <verbatim assistant message>

## Conversation 2
**User:** <verbatim user message>

**Assistant:** <verbatim assistant message>

...continue until the last conversation...
```

### Formatting Rules

* Output **Markdown only**.
* No extra headings, notes, metadata, or commentary.
* If a turn contains Markdown, reproduce it exactly as-is.
* Do not “clean up” or normalize formatting.
* Preserve all original line breaks.

---

## Constraints

* Exact text fidelity is mandatory.
* No hallucination or reconstruction of missing content.
* No additional content outside the specified Markdown structure.
* Maintain original ordering and pairing logic strictly.

어떤 프롬프트인가

채팅 세션을 마크다운 transcript로 재구성하는 프롬프트다. 시스템·개발자·도구 메시지는 제외하고 원문 문장부호, 줄바꿈, 마크다운을 그대로 보존하라고 한다.

같은 분류의 프롬프트

채팅 내역 내보내기 프롬프트
컨텍스트 이전 문서 프롬프트
작업 이어가기 요약 프롬프트
긴 자료를 나눠 넣는 순서 짜는 프롬프트
서로 충돌하는 내 지시를 찾아내는 프롬프트