範例清單 勘誤與更新
本書採用 Colab 與 Replit 兩個線上開發環境, 請跟著進度點選對應章節的連結開啟範例:
由於氣象局的 API 回應格式有變異,Colab 檔已修正,請重新開啟範例筆記本再儲存到您的雲端硬碟中。
書上原本使用的 pytube 套件在範例檔中換成使用 pytubefix 套件, 避免 pytube 未更新出錯的問題。
第 3 章 Google Genimi 範例執行出現以下錯誤
ChatGoogleGenerativeAIError: Invalid argument provided to Gemini: 400 Developer instruction is not enabled for models/gemini-pro
請參考ChatGoogleGenerativeAI 使用 system 訊息的錯誤。
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up