Skip to content

Models

7.1 User (AI View)

  • user_id
  • ai_enabled
  • subscription_status
  • balance_points
  • free_daily_quota
  • free_daily_used
  • remaining_free_quota
  • next_reset_at

7.2 Session

  • id
  • title
  • scene
  • model_used
  • created_at
  • updated_at
  • closed_at

7.3 Message

  • message_id
  • session_id
  • question_text
  • answer_text
  • route
  • sub_intent
  • points_cost
  • latency_ms

7.4 QA Record (Admin/Internal)

  • id
  • user_platform_id
  • user_id
  • session_id
  • message_id
  • question_text
  • answer_text
  • route_name
  • sub_intent
  • source_hint
  • source_items_json
  • success_flag
  • error_code
  • provider_name
  • model_name
  • fallback_used

7.5 Feedback Event

  • event_id
  • event_type
  • feedback_type
  • session_id
  • message_id
  • event_payload

7.6 Knowledge Source

  • name
  • dataset_name
  • source_type
  • parser_type
  • base_url
  • status
  • document_count
  • chunk_count
  • latest_ingested_at

7.7 Knowledge Document(概念)

  • external_id / article_id
  • locale
  • category
  • section
  • title
  • url
  • updated_at
  • content_hash
  • last_seen_at
  • is_active / is_deleted

7.8 Points Ledger

  • id
  • delta
  • type
  • description
  • ref_id
  • created_at

7.9 Hot Topic Snapshot

  • topic
  • heat
  • sentiment
  • source_mix
  • sample_questions
  • refresh_meta