ACE / src /config /difyChatbotConfig.ts
Severian's picture
Upload 27 files
159f9c9 verified
raw
history blame contribute delete
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',
},
};