mmday-firebase/src/index.ts
윤정민 b67125f412 Add AI chat persona and infrastructure for the "Jjaek" chatbot.
- AI 챗봇 '짹'의 페르소나 정의 및 시스템 프롬프트 상수를 추가했습니다.
- 채팅 이력, 쿼터 관리, 요청 멱등성 보장을 위한 Firestore 데이터 모델을 구현했습니다.
- 위기 상황 대응(자해·위해 예고 등) 및 입력/출력 필터링 파이프라인을 구축했습니다.
- Gemini 및 Anthropic 모델을 지원하는 AI Provider 추상화 계층을 마련했습니다.
2026-06-15 13:07:58 +09:00

17 lines
734 B
TypeScript

import { setGlobalOptions } from "firebase-functions";
import "./firebase";
setGlobalOptions({ maxInstances: 10, region: "asia-northeast3" });
export { kbo } from "./handlers/kboHandlers";
export { user } from "./handlers/userHandlers";
export { prediction } from "./handlers/predictionHandlers";
export { stats } from "./handlers/statsHandlers";
export { admin } from "./handlers/adminHandlers";
export { debug } from "./handlers/debugHandlers";
export { attendance } from "./handlers/attendanceHandlers";
export { chat } from "./handlers/chatHandlers";
export { kboDailyRefresh } from "./scheduled/kboRefresh";
export { dailyArchive } from "./scheduled/dailyArchive";
export { onGameCompleted } from "./triggers/onGameCompleted";