prompt-erd

테이블 (12)

(임시)대단원 전체 (Temp_MainTopic)

  • 대단원 ID (id) — text — 기본 키 — NOT NULL
  • 성취 기준 (achievement_criteria) — text
  • 중단원명 (sub_topic_name) — Temp_SubTopic(list)
  • 대단원명 (main_topic_name) — text
  • 과목명 (subject_name) — Prompt_Subject

(임시)중단원 전체 (Temp_SubTopic)

  • 중단원 ID (id) — text — 기본 키 — NOT NULL
  • 프롬프트 키워드 (llm_prompt_keyword) — text
  • 중단원명 (sub_topic_name) — text
  • - — - — 외래 키 → (임시)대단원 전체.대단원 ID — NOT NULL

과목 (Prompt_Subject)

  • 과목 ID (id) — text — 기본 키 — NOT NULL
  • 과목명 (subject_name) — text
  • 대단원명 (main_topic_name) — Prompt_MainTopic (list)
  • 문제 유형명 (question_type_name) — Prompt_QuestionType (list)
  • 심화 과목 여부 (is_advanced) — boolean

대단원 (Prompt_MainTopic)

  • 대단원 ID (id) — text — 기본 키 — NOT NULL
  • 과목명 (subject_name) — text — 외래 키 → 과목.과목 ID — NOT NULL
  • 대단원명 (main_topic_name) — text
  • 중단원명 (sub_topic_name) — Prompt_SubTopic (list)

문제 유형 (Prompt_QuestionType)

  • 문제유형 ID (id) — text — 기본 키 — NOT NULL
  • 과목명 ID (subject_name) — text — 외래 키 → 과목.과목 ID — NOT NULL
  • 문제 유형명 (question_type_name) — text
  • 문제 유형 내용 (question_type_body) — text
  • 문제 유형 설명 (question_type_description) — text
  • 문제 생성 규칙 (question_rules) — text
  • 객/단/서 구분 (question_format) — Option Set(QUESTION_TYPE)
  • 문제 구분 (question_type_title) — text
  • 해설 생성 규칙 (question_explanation_prompt) — text

소단원 (Prompt_DetailTopic)

  • 소단원 ID (id) — text — 기본 키 — NOT NULL
  • 평가 기준명 (rubric_name) — 기본 키 — NOT NULL
  • 총론명 (overview_name) — Prompt_Overview — 외래 키 → 총론.총론 ID — NOT NULL
  • 컨텐츠명 (content_name) — Prompt_Content — 외래 키 → 컨텐츠.컨텐츠 ID — NOT NULL
  • 중단원명 (sub_topic_name) — text — 외래 키 → 중단원.중단원 ID — NOT NULL
  • 소단원명 (detail_topic_name) — text

시험지 (Form)

  • 시험지 id — 기본 키 — NOT NULL
  • 과목 id — 외래 키 → 과목.과목 ID — NOT NULL

영어 문제 유형 (Prompt_QuestionType_Eng)

  • 문제유형 ID (id) — text — 기본 키 — NOT NULL
  • 문항 번호 (question_number) — number
  • 문장 유형1 (sentence_type1) — text
  • 문장 유형2 (sentence_type2) — text
  • 지문 최소 길이 (min_passage_count) — number
  • 지문 최대 길이 (max_passage_count) — number
  • 지문 평균 길이 (avg_passage_count) — number
  • 문제1 발문 (question1_prompt) — text
  • 문제1 지문 (question1_passage) — text
  • 문제1 선택지 (question1_choices) — text
  • 문제1 정답 (question1_correct) — number
  • 문제2 발문 (question2_prompt) — text
  • 문제2 지문 (question2_passage) — text
  • 문제2 선택지 (question2_choices) — text
  • 문제2 정답 (question2_correct) — number
  • 문제3 발문 (question3_prompt) — text
  • 문제3 지문 (question3_passage) — text
  • 문제3 선택지 (question3_choices) — text
  • 문제3 정답 (question3_correct) — number

중단원 (Prompt_SubTopic)

  • 중단원 ID (id) — text — 기본 키 — NOT NULL
  • 대단원명 (main_topic_name) — text — 외래 키 → 대단원.대단원 ID — NOT NULL
  • 중단원명 (sub_topic_name) — text
  • 소단원명 (detail_topic_name) — Prompt_DetailTopic (list)

총론 (Prompt_Detail_Overview)

  • 총론 ID (id) — text — 기본 키 — NOT NULL
  • 총론 내용 (overview_body) — text
  • 총론명 (overview_name) — text

컨텐츠 (Prompt_Detail_Content)

  • 컨텐츠 ID (id) — text — 기본 키 — NOT NULL
  • 컨텐츠 내용 (content_body) — text
  • 컨텐츠명 (content_name)

평가 기준 (Prompt_Detail_Rubric)

  • 평가 기준 ID (id) — text — 기본 키 — NOT NULL
  • 소단원 ID (-) — text — 외래 키 → 소단원.소단원 ID — NOT NULL
  • 평가 기준 (rubric_body) — text
  • 객/단/서 구분 (question_format) — Option Set(QUESTION_TYPE)
  • 평가 기준명 (rubric_name) — text