Skip to content

Add AI chatbot (Chaos Cat) and offline fallback#2

Open
AnChanUng wants to merge 5 commits intomasterfrom
feature/chaos-cat-chatbot
Open

Add AI chatbot (Chaos Cat) and offline fallback#2
AnChanUng wants to merge 5 commits intomasterfrom
feature/chaos-cat-chatbot

Conversation

@AnChanUng
Copy link
Copy Markdown
Owner

Summary

  • 카오스 고양이 AI 챗봇 추가: Gemini 2.0 Flash 기반 CS 면접 Q&A 챗봇 (화면 우하단 🐱 버튼)
    • DB의 관련 학습 자료를 컨텍스트로 Gemini에 전달하여 정확한 답변 제공
    • API 키 없으면 DB/하드코딩 데이터 검색 기반 fallback 동작
  • 오프라인 fallback 시스템 추가: 백엔드 서버 다운 시에도 109개 전체 콘텐츠 표시
    • 마크다운 파일에서 자동 생성된 hardcodedData.js
    • Home, Category, Question, Stats 페이지 모두 fallback 적용
    • API 타임아웃 5초 설정
  • README 업데이트: AI 챗봇, 면접연습, 환경변수 문서화

Commits

  • Add hardcoded fallback data so content shows even when backend is down
  • Add Chaos Cat AI chatbot for CS interview Q&A
  • Switch chat AI from Claude API to Gemini 2.0 Flash (free tier)
  • Feed relevant CS content as context to Gemini for accurate answers
  • Update README with AI chatbot, offline fallback, and env vars docs

Test plan

  • 배포 사이트에서 🐱 버튼 클릭 → 채팅 패널 열림 확인
  • CS 질문 (ex: "TCP 3-way handshake") → 정확한 답변 확인
  • 백엔드 서버 다운 시 → 홈/카테고리/질문 페이지 콘텐츠 정상 표시 확인
  • 모바일에서 채팅 UI 반응형 확인

🤖 Generated with Claude Code

AnChanUng and others added 5 commits April 4, 2026 19:51
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cs-study-platform Ready Ready Preview, Comment Apr 4, 2026 10:52am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant