Download src/config/difyChatbotConfig.ts from Doner1937/ACE: direct link, hf CLI and curl.
- Browser
- Download file 717 Bytes
-
https://huggingface.co/spaces/Doner1937/ACE/resolve/main/src/config/difyChatbotConfig.ts
- Command line
-
hf download hf://spaces/Doner1937/ACE/src/config/difyChatbotConfig.ts
-
curl -L -o difyChatbotConfig.ts https://huggingface.co/spaces/Doner1937/ACE/resolve/main/src/config/difyChatbotConfig.ts
717 Bytes
| declare global { | |
| interface Window { | |
| difyChatbotConfig: { | |
| token: string; | |
| inputs: Record<string, string>; | |
| systemVariables: Record<string, string>; | |
| userVariables: Record<string, string>; | |
| }; | |
| } | |
| } | |
| window.difyChatbotConfig = { | |
| token: 'U5KHVj67e4Gum8hd', | |
| inputs: { | |
| // You can define the inputs from the Start node here | |
| // key is the variable name | |
| // e.g. | |
| // name: "NAME" | |
| }, | |
| systemVariables: { | |
| // user_id: 'YOU CAN DEFINE USER ID HERE', | |
| // conversation_id: 'YOU CAN DEFINE CONVERSATION ID HERE, IT MUST BE A VALID UUID', | |
| }, | |
| userVariables: { | |
| // avatar_url: 'YOU CAN DEFINE USER AVATAR URL HERE', | |
| // name: 'YOU CAN DEFINE USER NAME HERE', | |
| }, | |
| }; |