Replies: 1 comment 10 replies
|
Hi @renandjie! I'm Dosu and I’m helping the dify team. You can't directly override the internal If you want to associate your business system's user identity (like login account or ticket) with Dify chat sessions, the recommended approach is to use reserved variables such as For iframe embedding, if you need to pass a user identifier, you must use the If you try to set To summarize: use To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Uh oh!
There was an error while loading. Please reload this page.
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I will embed the dify agent or chatflow into my own business system through JavaScript, but I hope that each user chat session can automatically record the login account and login ticket of my current business system, but I have not seen any docking parameters yet. I tried setting it up, but the user_id I saw on dify was still automatically generated by the system.
window.difyChatbotConfig = {
systemVariables: {
user_id: "eb747871-f4fb-4050-a15e-75e023a00041",
}
}
2. Additional context or comments
No response
All reactions