鄭沛軒
|
9d00035fdf
|
feat: 統一片語/俚語為慣用語並移除快取系統
主要變更:
1. 前端術語統一
- PhrasePopup → IdiomPopup
- phraseCount → idiomCount
- isPhrase → isIdiom
- showPhrasesInline → showIdiomsInline
- UI文字統一為「慣用語」
2. 後端 DTO 統一
- IncludePhraseDetection → IncludeIdiomDetection
- IsPhrase → IsIdiom
- Phrases → Idioms
3. 移除快取系統
- 移除 AIController 中的快取邏輯
- 移除快取服務依賴注入
- 每次都直接調用 Gemini API
4. 重建 GeminiService
- 簡化 API 調用邏輯
- 移除所有 mock 數據
- 直接使用 AI 回應
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-09-22 18:17:42 +08:00 |
鄭沛軒
|
03c1756d71
|
feat: 完成AI生成功能的完整前後端整合
後端實現:
- 創建AIController和GeminiService集成Google Gemini API
- 實現完整的句子分析API端點
- 添加數據模型和錯誤處理機制
- 集成現有的緩存和使用追蹤服務
- 使用User Secrets安全存儲Gemini API Key
前端整合:
- 更新為使用真實API調用替代假資料
- 修復所有API服務指向正確port (5008)
- 改善錯誤處理和用戶體驗
- 確保前後端數據格式完全匹配
功能特色:
- 智能語法檢查和修正建議
- 基於CEFR等級的個人化詞彙標記
- 慣用語識別和展示
- 完整的詞彙詳情彈窗
- 一鍵保存到詞卡功能
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-09-22 03:04:29 +08:00 |
鄭沛軒
|
8a889a9d9c
|
feat: 完成後端語音服務架構與測試文檔
- 實現 AudioController API 端點
- 建立 Azure Speech Services 整合架構
- 新增音頻快取、評估記錄、用戶偏好資料模型
- 完成服務依賴注入配置
- 建立完整的測試案例規格書
- 生成詳細的測試執行報告
- 建立語音功能技術規格文檔
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-09-19 13:33:31 +08:00 |