임베딩

테이블 (9)

문서정보 (documents)

  • 식별자 (id) — uuid — 기본 키
  • 대표문서코드 (rep_code) — varchar — NOT NULL
  • 문서코드 (code) — varchar — NOT NULL
  • 문서명 (name) — varchar — NOT NULL
  • 페이지 (page) — int — NOT NULL
  • 관심영역 (rois) — jsonb
  • 정형문서여부 (structure) — bool — NOT NULL
  • 이미지 (image) — bytea
  • 프롬프트 (prompt) — text — NOT NULL
  • 생성일시 (created_at) — timestampz — NOT NULL
  • 수정일시 (updated_at) — timestampz — NOT NULL

실행아이템정보 (execution_items)

  • 식별자 (id) — uuid — 기본 키 — NOT NULL
  • 실행정보 식별자 (execution_id) — uuid — 외래 키 → 실행정보.식별자 — NOT NULL
  • 문서정보 식별자 (document_id) — uuid — 외래 키 → 문서정보.식별자 — NOT NULL
  • 추출 정보 (extract) — jsonb
  • 이미지 위치 (image_uri) — varchar — NOT NULL — 이미지 저장 위치
  • 추출결과 위치 (json_uri) — varchar
  • 시작일시 (started_at) — timestampz — NOT NULL
  • 종료일시 (finished_at) — timestampz

실행정보 (executions)

  • 식별자 (id) — uuid — 기본 키 — NOT NULL
  • 실행결과 (result) — jsonb
  • 문서요청키 (kb_doc_id) — varchar — NOT NULL
  • 아이템 번호 (kb_item_no) — varchar — NOT NULL
  • 아이템 일련번호 (kb_item_sno) — varchar — NOT NULL
  • 업무구분코드 (kb_bz_tp_cd) — varchar — NOT NULL
  • 사용자 아이디 (kb_user_id) — varchar — NOT NULL
  • 시작일시 (started_at) — timestampz — NOT NULL
  • 종료일시 (finished_at) — timestampz

임베딩정보 (doc_embeddings)

  • 식별자 (id) — uuid — 기본 키 — NOT NULL
  • 문서정보 식별자 (document_id) — uuid — 외래 키 → 문서정보.식별자 — NOT NULL
  • 임베딩 (embedding) — vector(1024) — NOT NULL
  • 생성일시 (created_at) — timestampz — NOT NULL

임베딩추가작업정보 (embedding_work)

  • 식별자 (id) — 기본 키 — NOT NULL
  • 전체 이미지 수 (total) — int
  • 상태코드 (status) — string
  • 처리된 이미지 수 (completed) — int
  • 생성일시 (created_at) — timestampz

평가데이터 (evaluation_datasets)

  • 식별자 (id) — uuid — 기본 키 — NOT NULL
  • 평가명 (name) — varchar — NOT NULL
  • 평가설명 (description) — text
  • 문서식별자 (kb_doc_id) — varchar — NOT NULL
  • 아이템번호 (kb_item_no) — varchar — NOT NULL
  • 아이템 일련번호 (kb_item_sno) — varchar — NOT NULL
  • 업무 구분 코드 (bz_tp_cd) — varchar — NOT NULL
  • 사용자 아이디 (kb_user_id) — varchar — NOT NULL
  • 평가문서 수 (item_count) — int — NOT NULL
  • 에러 메세지 (error_message) — text — NOT NULL
  • 생성일시 (created_at) — timestampz — NOT NULL

평가실행아이템정보 (evaluation_run_items)

  • 식별자 (id) — uuid — 기본 키 — NOT NULL
  • 평가실행정보 식별자 (evaluation_run_id) — uuid — 외래 키 → 평가실행정보.식별자 — NOT NULL
  • 평가아이템 식별자 (evaluation_item_id) — uuid — 외래 키 → 평가아이템.식별자 — NOT NULL
  • 추출정보 (extract) — jsonb — NOT NULL
  • 평가지표 (metrics) — jsonb
  • 오류메세지 (error_message) — text — NOT NULL
  • 시작일시 (started_at) — timestampz — NOT NULL
  • 종료일시 (finished_at) — timestampz

평가실행정보 (evaluation_runs)

  • 식별자 (id) — uuid — 기본 키 — NOT NULL
  • 평가데이터 식별자 (evaluation_dataset_id) — uuid — 외래 키 → 평가데이터.식별자 — NOT NULL
  • 실행상태 (status) — varchar — NOT NULL
  • 평가문서수 (total) — int — NOT NULL
  • 평가결과 (metrics) — jsonb
  • 시작일시 (started_at) — timestampz — NOT NULL
  • 종료일시 (finished_at) — tiemstampz — NOT NULL

평가아이템 (evaluation_items)

  • 식별자 (id) — uuid — 기본 키 — NOT NULL
  • 평가데이터 식별자 (evaluation_dataset_id) — uuid — 외래 키 → 평가데이터.식별자 — NOT NULL
  • 문서정보 식별자 (document_id) — uuid — 외래 키 → 문서정보.식별자
  • 기준정답 (answer) — jsonb
  • 생성일시 (created_at) — timestampz — NOT NULL