Technology sharing

Instrumenta in Dify

2024-07-11

한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina

Instrumenta in Dify in instrumentis constructis (hard-coded) et instrumentorum partium tertiarum (OpenAPI Swagger/ChatGPT Plugin dividuntur). Instrumenta ab Workflows et Agentia adhiberi possunt. Utique, Workflows ut instrumenta etiam evulgari possunt, ut Workflows in Workflows adhiberi possunt.

1.Dify constructum in tools

Google exemplum sumamus. A fine anteriore, mox SerpApi API clavem intrant, et tunc intendunt in exsecutionem ultimi posterioris dividendo.

Source code location: dify-0.6.9/api/core/tools/provisor/builtin/google

Instrumentum elit para 1. yaml

Source code location: dify-0.6.9/api/core/tools/provider/builtin/google/google.yaml

identity:  # 工具供应商的基本信息
  author: Dify  # 作者
  name: google  # 工具供应商的名称,名称是唯一的,不允许和其它供应商重名
  label:  # 标签用于前端展示
    en_US: Google  # 英文标签
    zh_Hans: Google  # 简体中文标签
    pt_BR: Google  # 葡萄牙语标签
  description:  # 描述用于前端展示
    en_US: Google  # 英文描述
    zh_Hans: GoogleSearch  # 简体中文描述
    pt_BR: Google  # 葡萄牙语描述
  icon: icon.svg  # 图标文件名,图标文件需要放在当前模块的_assets目录下