Skip to content

Commit

Permalink
update X-API-KEY
Browse files Browse the repository at this point in the history
  • Loading branch information
wu0up committed Dec 16, 2024
1 parent 1b3ada6 commit 846578a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/wks_deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ files=[
('file',('會議記錄.mp3',open('會議記錄.mp3','rb'),'audio/mpeg'))
]
headers = {
'API-KEY': 'xxxxxxx'
'X-API-KEY': 'xxxxxxx'
}

response = requests.request("POST", url, headers=headers, data=payload, files=files)
Expand All @@ -45,4 +45,4 @@ print(response.text)
| **session** | 同一次對話的 `uuid`,類型為 `str`,非必填。 |
| **text** | 要求服務執行的內容。如果 `file` 中有資料,可以不用填寫。例如:「請幫我整理會議記錄」。 |
| **file** | 要請服務處理的檔案,目前支援格式:`mp3``pdf``jpg``png`|
| **API-KEY** | 需向 AgentFabric 管理員申請 ID。
| **X-API-KEY** | 需向 AgentFabric 管理員申請 ID。

0 comments on commit 846578a

Please sign in to comment.