Skip to content

Conversation

@afoucret
Copy link
Contributor

@afoucret afoucret commented Jan 9, 2025

Description

This is a draft PR that introduce a new RERANK ES|QL command,

The rerank command use an inference task of type reranker to reorder the rows of the result.

Command syntax:

| RERANK "the quick brown fox" ON title WITH my-reranker

Checklist

  • Create grammar for the new command
  • Create the logical plan for the command
  • Parse the command to a logical plan
  • Create the physical plan for the command
  • Command planning
  • Add inference service as a dependency of the esql plugin
  • Command execution through an AsyncOperator leveraging the infernce service

@afoucret afoucret changed the title Add the rerank command to the ES|QL grammar. [ES|QL] Rerank command POC Jan 13, 2025
@afoucret afoucret closed this Apr 30, 2025
@afoucret afoucret deleted the esql-semantinc-reranker-poc branch June 5, 2025 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants