microsoft / microsoft/vscode

Add confidence score or extended metadata support to AITextSearchProvider

Open
#333,437 0 comments 0 reactions 1 assignee Claimed by @osortega View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

## Feature Request
Enhance the `AITextSearchProvider` and related types in `vscode.d.ts` to support optional metadata such as confidence scores or similarity metrics for AI-generated search results.

### Problem or Use Case
Currently, `provideAITextSearchResults` returns `TextSearchResult2` via progress callbacks, but there is no native way to pass AI-specific metrics like a confidence score or relevance weight per result. This limits extensions trying to sort or display advanced AI search telemetry in the Search View.

### Proposed Solution
Add optional properties (e.g., confidence score or extended options) to the relevant interfaces to improve extensibility for AI search providers.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.