Growise AI

Loop Through Data Action 如何計算 WC?

Loop Through Data Action 會針對輸入陣列中的 每一筆資料 獨立執行一次迴圈內的所有動作,因此 Workflow Credits 消耗 = 迴圈次數 × 單次迴圈內所有動作的 WC 總和。

假設您有一個 Loop Through Data Action,設定如下:

  • 輸入資料筆數(N)50 筆(來自 Scraper 的部落格文章)
  • 迴圈內動作
    – 1. 生成摘要(5 Credits)
    – 2. 擷取關鍵字(3 Credits)
    – 3. 生成圖片(10 Credits)
  • 單次迴圈信用點數 5 + 3 + 10 = 18 Workflow Credits
  • 總消耗 WC = 50 × 18 = 900 Workflow Credits