藍圖篇 - Azure
Azure 的使用方式與 OpenAI 非常相似,因此這裡簡單介紹一下。
文字聊天
建立 "Azure Chat Options" 節點,設定參數 "Deployment Name", "Base Url", "Api Key"
建立 "消息" 相關節點,並連接 "Azure 聊天請求",點擊執行,即可在螢幕上看到列印出來的 Azure 回傳的聊天訊息。如圖。
建立圖片
建立 "Azure Image Options" 節點,設定 "Deployment Name"、 "Base Url" 和 "Api Key" 參數。
設置好 "Azure Image Request" 等節點,點擊運行,即可看到螢幕上打印 Azure 返回的聊天信息。如圖。
根據上述藍圖設置,圖片將保存在路徑 D:\Dwnloads\butterfly.png。
Original: https://wiki.disenone.site/tc
This post is protected by CC BY-NC-SA 4.0 agreement, should be reproduced with attribution.
Visitors. Total Visits. Page Visits.
這篇文章是由 ChatGPT 翻譯的,請在反饋請指出任何遺漏之處。