Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Expose ranker relevance score in GraphQL API#64172

Merged
rafax merged 6 commits intomainfrom
rg/expose_ranker_score
Jul 31, 2024
Merged

Expose ranker relevance score in GraphQL API#64172
rafax merged 6 commits intomainfrom
rg/expose_ranker_score

Conversation

@rafax
Copy link
Contributor

@rafax rafax commented Jul 31, 2024

This PR exposes per-item relevance score (as assigned by the re-ranker) in the GraphQL rankContext endpoint. Before, we only ordered the items, but didn't return relevance information.

Test plan

  • tested locally

@rafax rafax requested a review from a team July 31, 2024 08:16
@cla-bot cla-bot bot added the cla-signed label Jul 31, 2024
@rafax rafax enabled auto-merge (squash) July 31, 2024 08:18
rafax referenced this pull request in sourcegraph/cody-public-snapshot Jul 31, 2024
Use https://github.com/sourcegraph/sourcegraph/pull/64172 in Cody

## Test plan

- tested locally
- code behind a feature flag
@rafax rafax merged commit 47e9cdf into main Jul 31, 2024
@rafax rafax deleted the rg/expose_ranker_score branch July 31, 2024 09:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants