mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-03-26 13:18:34 +07:00
Merge pull request #228 from croatialu/chore/user-variables
docs: Update the guide for embedding websites
This commit is contained in:
@@ -30,7 +30,19 @@ window.difyChatbotConfig = {
|
||||
// key is the variable name
|
||||
// e.g.
|
||||
// name: "NAME"
|
||||
}
|
||||
},
|
||||
// Optional, An object of system variables that set in the dify chatbot
|
||||
systemVariables: {
|
||||
// e.g.
|
||||
// user_id: 'USER_ID',
|
||||
// conversation_id: 'CONVERSATION_ID',
|
||||
},
|
||||
// Optional, An object of user variables that set in the dify chatbot
|
||||
userVariables: {
|
||||
// e.g.
|
||||
// avatar_url: 'AVATAR_URL',
|
||||
// name: 'NAME',
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user