/
DaVinci Plugin 介紹
DaVinci Plugin 介紹
DaVinci Plugin 為 JSON 格式,其內容如下:
{
"id": "plugin_guide",
"schema_version": "v1.0",
"name_for_human": "plugin_guide",
"name_for_model": "plugin_guide",
"description_for_human": "plugin_guide",
"description_for_model": "You need to choose this tool anytime, to search for any information with user language that helps replying to users.",
"auth": {
"type": "none"
},
"api": {
"type": "python",
"python": {
"source": ""
}
}
}
這是一個標準的 Plugin json 內容,相關參數說明如下
id
為 Plugin id 資訊,用來識別 plugin 的唯一值name_for_human
為 plugin name 資訊,是給使用者參考的 plugin 名稱name_for_model
為 plugin_name 資訊,是告訴 DaVinci 該 plugin 的名稱description_for_human
是給使用者參考的 plugin 說明description_for_model
是告訴 DaVinci 該如何使用這個 plugin。auth
type
保留欄位,後續會應用在判斷使用權限
api
type
具有兩種格式,openapi 或 pythonpython
若為 python 格式,則使用source
欄位放入要執行的 python codeurl
若為 openapi 格式,則直接填入 yaml 檔的 URL
Plugin 教學參考:
關於 Plugin 開發您可以參考這些資訊
, multiple selections available,
Related content
Developer Manual
🛠️
Developer Manual
More like this
Python Plugin
Python Plugin
More like this
Plugin Chat / 插件對話
Plugin Chat / 插件對話
More like this
Davinci Python Plugin Quickstart
Davinci Python Plugin Quickstart
More like this
Plugin Example Code
Plugin Example Code
More like this
MediaTek DaVinci Assistant API 介紹
MediaTek DaVinci Assistant API 介紹
More like this