Closed hsluoyz closed 3 months ago
We need to add a sidebar to show AI assistant, so the editor users can use AI to help them edit the Casbin policy.
Similar to Casdoor: https://door.casdoor.com/
The integrating code in Casdoor is at:
https://github.com/casdoor/casdoor/blob/4cc2120fed9c2b96955bf88f2f2d20190fd1435a/web/src/App.js#L297-L329
It's based on iframe to access the AI page: https://ai.casbin.com/ , which is powered by: https://github.com/casibase/casibase , another project from our community. You can view the code of that project if necessary.
A difference for this issue is that we want to provide more background info to the AI, like the model, policy, request, result of the editor. It's a deeper integration for editor than Casdoor's integration.
@nodece
:tada: This issue has been resolved in version 1.8.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
We need to add a sidebar to show AI assistant, so the editor users can use AI to help them edit the Casbin policy.
Similar to Casdoor: https://door.casdoor.com/
The integrating code in Casdoor is at:
https://github.com/casdoor/casdoor/blob/4cc2120fed9c2b96955bf88f2f2d20190fd1435a/web/src/App.js#L297-L329
It's based on iframe to access the AI page: https://ai.casbin.com/ , which is powered by: https://github.com/casibase/casibase , another project from our community. You can view the code of that project if necessary.
A difference for this issue is that we want to provide more background info to the AI, like the model, policy, request, result of the editor. It's a deeper integration for editor than Casdoor's integration.