Skip to content

[ML] Rerank response format change#107288

Merged
maxhniebergall merged 14 commits intomainfrom
rerankImprovements
Apr 10, 2024
Merged

[ML] Rerank response format change#107288
maxhniebergall merged 14 commits intomainfrom
rerankImprovements

Conversation

@maxhniebergall
Copy link
Copy Markdown
Contributor

This PR changes the response format of the Cohere Rerank inference endpoint. Previously, the field values relevance_score and index were Strings, and now they will be float and int, respectively.

Elasticsearch-spec PR to follow.

Max Hniebergall added 3 commits April 9, 2024 16:51
@elasticsearchmachine elasticsearchmachine added the Team:ML Meta label for the ML team label Apr 9, 2024
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/ml-core (Team:ML)

Max Hniebergall added 2 commits April 10, 2024 12:35
…rerankImprovements

# Conflicts:
#	server/src/main/java/org/elasticsearch/TransportVersions.java
@maxhniebergall maxhniebergall merged commit db5cadc into main Apr 10, 2024
@maxhniebergall maxhniebergall deleted the rerankImprovements branch April 10, 2024 22:47
craigtaverner pushed a commit to craigtaverner/elasticsearch that referenced this pull request Apr 11, 2024
* Change rerank result types, add named writables, new transportVersion

* Add description for namedWriteables

* fix RankedDocsResults toString

---------

Co-authored-by: David Kyle <david.kyle@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:ml Machine learning >non-issue Team:ML Meta label for the ML team v8.14.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants