devchat-ai / devchat

Automate your dev tasks with AI-powered scripts, from your IDE's chat panel.
https://www.devchat.ai
Apache License 2.0
342 stars 39 forks source link

Feature Request: Logging Code Completion Metrics to Database #292

Closed yangbobo2021 closed 6 months ago

yangbobo2021 commented 6 months ago

Description

The goal of this feature is to enhance our understanding and the effectiveness of our code completion feature by logging relevant statistical information through a network interface to our database. The specific metrics of interest include the length of the generated code (in characters), the number of lines, and whether the suggested completion was chosen by the user. These metrics will allow us to refine and improve the precision and usefulness of our code completions.

Relevant Network Interface Documentation

For the implementation of this feature, the network interface that will be utilized to collect and send these statistics is described in the following documentation: API Documentation.

Expected Outcomes

Potential Challenges

This feature is crucial for continuous improvement of our code completion tool and better understanding user engagement. Please review the proposed changes and provide feedback or additional requirements you believe are necessary.