microsoft / TaskWeaver

A code-first agent framework for seamlessly planning and executing data analytics tasks.
https://microsoft.github.io/TaskWeaver/
MIT License
5.2k stars 662 forks source link

Feature Request: Enhanced Logging, Feedback Features, and Web UI for Production Use #401

Open MingYHou opened 2 weeks ago

MingYHou commented 2 weeks ago

1. Comprehensive Logging System:

I would like to request the implementation of a comprehensive logging system in TaskWeaver. The goal is to log all activities and processes related to the operation of TaskWeaver, ensuring that every detail is captured and stored permanently. Specifically, the following should be logged:

2. User Feedback Feature in Web UI:

I propose the addition of a feedback feature in the TaskWeaver Web UI. This feature should allow users to provide feedback on their experience with TaskWeaver, specifically:

3. Web UI for Production Use:

According to the documentation, the TaskWeaver Web UI is currently intended for development and testing purposes only. Could you please provide guidance on how the Web UI can be utilized in a production environment? Specifically:

Thank you for considering these feature requests. I believe they will add significant value to the TaskWeaver platform.

liqul commented 2 weeks ago

Thanks for the suggestions and welcome to contribute :)

MingYHou commented 2 weeks ago

Hi liqul, Thanks for your reply! I was wondering if there're any features already there or in development, such as logging, feedback feature or an ui that works in production environment. Thanks!

liqul commented 2 weeks ago

I think you can find the current status of telemetry here which pretty much covered the session including input and output for important components.

We didn't spend much effort in building the UI so far, simply relying on the Chainlit lib for demonstration purpose. We don't have any plans (and also resources) to improve the UI for production usage. I think Chainlit provides basic support for feedback collection such as thumb up/down. If you need to store the feedback, you probably need to implement a hook.

MingYHou commented 2 weeks ago

Thanks! Is it ok to deploy the ui in production environment? I saw it in the documentation "TaskWeaver Web UI is currently intended for development and testing purposes only".