Add dify support to amrita
Project description
plugin-dify
在 Amrita 内接入 Dify
使用方法
- 安装插件
amrita plugin install amrita_plugin_dify
- 配置插件
在 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
Release history Release notifications | RSS feed
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.0.tar.gz
(13.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file amrita_plugin_dify-0.1.0.tar.gz.
File metadata
- Download URL: amrita_plugin_dify-0.1.0.tar.gz
- Upload date:
- Size: 13.8 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40120e0d1488de3ef150209a2852115f9e2a0abda1fa661e54a55f92dd00f6b5
|
|
| MD5 |
54a83033cc92e38a684809fa6bb69914
|
|
| BLAKE2b-256 |
7dae151f55d2e6aa4db6003bb388748297e4c13f78bfcafb321ac7a0307700fc
|
File details
Details for the file amrita_plugin_dify-0.1.0-py3-none-any.whl.
File metadata
- Download URL: amrita_plugin_dify-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.5 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ea2763f27e6b36c94934509d1f62d213d2dff1d4bd854de7f5bb6aaecab0b29
|
|
| MD5 |
79bb92cca16ee7faa17f88bec51c4043
|
|
| BLAKE2b-256 |
4a5d511916ae49176c921ab9335c9b9d33cf3615973af3477900c49dbbc7d49e
|