Configure
dify-spring-boot-starter is very easy to configure, we just need some simple configuration!
ake sure you have dify-spring-boot-starter,installed,if you haven't, check out the Install。
Configuration parameters
application.yml Configure connection parameters
dify:
url: http://192.168.1.10 # Please replace with the actual Dify service address
server:
email: admin@admin.com # Please replace the actual Dify service mailbox, if you do not need to call the server-related interfaces can not be filled in!
password: admin123456 # Please replace the password with the actual Dify service password, if you don't need to call the server-related interfaces can not be filled in!
password-encryption: true # Password encryption switch, default is true, need to be enabled for Dify 1.11.2 and above (or unenabled for Base64 cipher), need to be set to false for versions below 1.11.2;
dataset:
api-key: dataset-aaabbbcccdddeeefffggghhh # Please replace with the actual Dify dataset API key, if you don't need to call the dataset-related interfaces can not be filled in!