upstage_ai

Tables (8)

agent_discussion_messages (토론 라운드별 페르소나 응답)

  • 토론 메시지 PK (id) — Primary key — NOT NULL
  • 메시지가 속한 토론 (discussion_id) — Foreign key → agent_discussions.토론 PK — NOT NULL
  • 응답한 페르소나 (persona_id) — Foreign key → personas.페르소나 PK — NOT NULL
  • 토론 라운드 (round)
  • 해당 라운드에서 생성된 분석/반론/합성 내용 (content)
  • 생성 시각 (created_at)
  • 수정 시각 (updated_at)

agent_discussions (멀티 에이전트 토론 세션)

  • 토론 PK (id) — Primary key — NOT NULL
  • 토론을 소유한 사용자 (owner_id) — Foreign key → user_accounts.사용자 PK — NOT NULL
  • 토론을 시작하게 만든 지식 노드 (trigger_node_id) — Foreign key → knowledge_nodes.지식 노드 PK — NOT NULL
  • 토론 상태 (status)
  • 토론 제목 (title)
  • 최종 요약 (summary)
  • 실행 계획 (action_plan)
  • 생성 시각 (created_at)
  • 수정 시각 (updated_at)

chat_messages (채팅 세션 안의 메시지)

  • 메시지 PK (id) — Primary key — NOT NULL
  • 메시지가 속한 채팅 세션 (session_id) — Foreign key → chat_sessions.채팅 세션 PK — NOT NULL
  • 세션 안에서의 메시지 순서 (message_sequence)
  • 메시지 역할 (role)
  • 메시지 내용 (content)
  • 생성 시각 (created_at)
  • 수정 시각 (updated_at)

chat_sessions (사용자와 페르소나 간 채팅 세션)

  • 채팅 세션 PK (id) — Primary key — NOT NULL
  • 채팅을 생성한 사용자 (owner_id) — Foreign key → user_accounts.사용자 PK — NOT NULL
  • 연결된 페르소나 (persona_id) — Foreign key → personas.페르소나 PK — NOT NULL
  • 채팅방 제목 (title)
  • 생성 시각 (created_at)
  • 수정 시각 (updated_at)

knowledge_edges (지식 노드 간 관계)

  • 관계 PK (id) — Primary key — NOT NULL
  • 관계를 소유한 사용자 (owner_id) — Foreign key → user_accounts.사용자 PK — NOT NULL
  • 관계 시작 노드 (source_node_id) — Foreign key → knowledge_nodes.지식 노드 PK — NOT NULL
  • 관계 대상 노드 (target_node_id) — Foreign key → knowledge_nodes.지식 노드 PK — NOT NULL
  • 관계 유형 (relation_type)
  • 관계 신뢰도 (confidence)
  • 관계를 만든 근거 문장 또는 설명 (evidence_text)
  • 생성 시각 (created_at)
  • 수정 시각 (updated_at)

knowledge_nodes (지식 그래프 노드)

  • 지식 노드 PK (id) — Primary key — NOT NULL
  • 노드를 소유한 사용자 (owner_id) — Foreign key → user_accounts.사용자 PK — NOT NULL
  • 제목 (title)
  • 도메인 분류 (domain_type)
  • 노드 유형 (node_type)
  • 노드 관리 에이전트가 분석을 완료했는지 여부 (analyzed)
  • 생성 시각 (created_at)
  • 수정 시각 (updated_at)

personas (Untitled)

  • 페르소나 PK (id) — Primary key — NOT NULL
  • 페르소나를 소유한 사용자 (owner_id) — Foreign key → user_accounts.사용자 PK — NOT NULL
  • 페르소나 이름 (name)
  • 담당 도메인 (domain_type)
  • Solar API 호출 시 사용할 시스템 프롬프트 (system_prompt)
  • 현재 사용 가능한 페르소나인지 여부 (enabled)
  • 생성 시각 (created_at)
  • 수정 시각 (updated_at)

user_accounts (사용자 계정 테이블)

  • 사용자 PK (id) — Primary key — NOT NULL
  • 사용자 이메일 (email)
  • 사용자 이름 (name)
  • 생성 시각 (created_at)
  • 수정 시각 (updated_at)