mongodb-js / vscode

Connect to MongoDB and Atlas and directly from your VS Code environment, navigate your databases and collections, inspect your schema and use playgrounds to prototype queries and aggregations.
https://marketplace.visualstudio.com/items?itemName=mongodb.mongodb-vscode
Apache License 2.0
327 stars 59 forks source link

feat(chat): Report docs fallback telemetry #825

Closed nirinchev closed 1 month ago

nirinchev commented 1 month ago

Description

Related to VSCODE-605 and VSCODE-570 - reports docs chatbot error in case we need to fallback to copilot model for docs responses. Currently doesn't report the error message as I wasn't sure if that could contain some PII or other data we don't want stored in a 3rd party provider. In case we notice a significant amount of chatbot errors, we can iterate on the reporting mechanism to also include diagnostic information.

Checklist

Motivation and Context

Open Questions

Dependents

Types of changes