Skip to content
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

chore(participant) Wire up telemetry for user prompts VSCODE-606 #836

Merged
merged 7 commits into from
Sep 27, 2024

Conversation

nirinchev
Copy link
Contributor

Description

Adds some telemetry stats when constructing prompts. Part of VSCODE-575.

Checklist

Motivation and Context

  • Bugfix
  • New feature
  • Dependency update
  • Misc

Open Questions

Dependents

Types of changes

  • Backport Needed
  • Patch (non-breaking change which fixes an issue)
  • Minor (non-breaking change which adds functionality)
  • Major (fix or feature that would cause existing functionality to change)

* VSCODE-528-mongodb-copilot:
  fix(chat): update response handling to stream and inline code block parsing VSCODE-620 (#835)
  feat(participant): route generic prompt by intent and update generic prompt VSCODE-572 (#830)

# Conflicts:
#	src/participant/participant.ts
#	src/participant/prompts/query.ts
@nirinchev nirinchev marked this pull request as ready for review September 26, 2024 23:42
Copy link
Member

@Anemy Anemy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice test adds, a few questions on what we're tracking, I think we want to think about how we can distinguish the metadata prompt chaining requests from others.

src/telemetry/telemetryService.ts Show resolved Hide resolved
src/participant/participant.ts Outdated Show resolved Hide resolved
src/participant/participant.ts Outdated Show resolved Hide resolved
@nirinchev nirinchev requested a review from Anemy September 27, 2024 20:12
@nirinchev nirinchev merged commit 6d7150f into VSCODE-528-mongodb-copilot Sep 27, 2024
3 checks passed
@nirinchev nirinchev deleted the ni/prompt-telemetry branch September 27, 2024 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants