-
Notifications
You must be signed in to change notification settings - Fork 1
Copilot: Add feature: collect Question/Answer/Feedback for analytic purpose #71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
quge009
commented
Sep 10, 2025
- Change uuid to uuidv4, 32 bit
- Log below message into database
- Question from user
- Answer generated by Copilot
- Feedback (like, dislike) of the generated answer from user
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds analytics data collection functionality to the Copilot system by logging questions, answers, and feedback to a Kusto database. The changes update UUID generation from shortened 8-character strings to full UUIDs and implement threaded data collection to avoid blocking the main conversation flow.
- Replace shortened UUID generation with full UUID v4 strings for better uniqueness
- Add threaded data collection system that logs questions, answers, and feedback to Kusto
- Add configuration support for destination Kusto cluster and database settings
Reviewed Changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
File | Description |
---|---|
copilot_conversation.py | Main implementation of data collection logic with threading and Kusto integration |
copilot-chat-deployment.yaml.template | Adds environment variables for destination Kusto cluster configuration |
copilot-chat.yaml | Adds default configuration values for data collection Kusto settings |
state.ts | Updates UUID generation from random strings to proper UUID v4 |
ChatBox.tsx | Updates client-side UUID generation to use UUID v4 |
package.json | Adds uuid package dependency and type definitions |
Files not reviewed (1)
- contrib/copilot-plugin/package-lock.json: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>