Skip to main content

Add dify support to amrita

Project description

plugin-dify

在 Amrita 内接入 Dify

使用方法

  1. 安装插件
amrita plugin install amrita_plugin_dify
  1. 配置插件

在 Bot 项目的.env 或者直接配置环境变量:

DIFY_API_KEY=<Dify API Key> # Dify API Key
DIFY_API_BASE=<Dify API Base> # Dify API Base URL(Default to `https://api.dify.ai/v1`)

之后在 Amrita 的Chat 插件配置文件的[extra]字段中,配置如下字段:

[extra]
dify_enabled = true # 是否启用Dify扩展

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

amrita_plugin_dify-0.1.1.post1.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

amrita_plugin_dify-0.1.1.post1-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file amrita_plugin_dify-0.1.1.post1.tar.gz.

File metadata

  • Download URL: amrita_plugin_dify-0.1.1.post1.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for amrita_plugin_dify-0.1.1.post1.tar.gz
Algorithm Hash digest
SHA256 61c6d10474052df739422c95da78e80d728b07361ae814bf875880eb64e89653
MD5 123c93063529eb1c07d4a5b173693cf5
BLAKE2b-256 4503a510a9d1dcea968c3fa9ac54fb55629efaaa9493666783de7540fb93e771

See more details on using hashes here.

File details

Details for the file amrita_plugin_dify-0.1.1.post1-py3-none-any.whl.

File metadata

  • Download URL: amrita_plugin_dify-0.1.1.post1-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for amrita_plugin_dify-0.1.1.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 a0c6e9444006608ce695ce09db279d0ae21737cc26ae7a64324eafda0d7e2faa
MD5 3be7f4c32472f471cdf5e9b651961861
BLAKE2b-256 c50ae22601853edaa70a1d4d6647e5af4347a625064e96a53142d9a9d9af411b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page