Cinnamon / kotaemon

An open-source RAG-based tool for chatting with your documents.
https://cinnamon.github.io/kotaemon/
Apache License 2.0
17.51k stars 1.36k forks source link

[REQUEST] - <View chat logs, history in addition to User Management> #324

Open Lee-Ju-Yeong opened 2 months ago

Lee-Ju-Yeong commented 2 months ago

Reference Issues

No response

Summary

If log in as an administrator, I would like to be able to view other users' chats and event logs.

Basic Example

It would be helpful if event logs such as event name, user, timestamp, and details, along with user chats and the content of the information panel, could be logged and made available for review.

Drawbacks

One potential drawback of implementing the requested logging feature (event name, user, timestamp, detail, user chats, and information panel content) is the increased storage and performance burden. Logging all these events and interactions could lead to significant data accumulation over time, especially for high-traffic systems. This would require more resources for data storage and management, potentially slowing down the system if not managed efficiently.

Another concern is privacy and security. Storing detailed logs of user interactions and chats might expose sensitive user data. Proper safeguards, such as encryption and access control, would need to be implemented to prevent unauthorized access, but this adds complexity to the system.

Lastly, maintenance and monitoring of such a logging system could require additional effort. Regular audits would be necessary to ensure the logs are managed correctly and do not overflow or compromise system performance.

Additional information

No response

busssard commented 3 weeks ago

the minimum that is required would be amount of tokens used by user. If we deploy this internally i need a way i can see who uses how much.

I see some privacy concerns with accessing the complete chatlog. But the logs atre stored anyways somewhere...