Skip to content

Conversation

@thecoop
Copy link
Member

@thecoop thecoop commented Jan 31, 2025

Backport #117176 to 9.0. The PR missed the creation of 9.1

* Integrate watsonx reranking to inference api

* Add api_version to the watsonx api call

* Fix the return_doc option

* Add top_n parameter to task_settings

* Add truncate_input_tokens parameter to task_settings

* Add test for IbmWatonxRankedResponseEntity

* Add test for IbmWatonxRankedRequestEntity

* Add test for IbmWatonxRankedRequest

* [CI] Auto commit changes from spotless

* Add changelog

* Fix transport version

* Add test for IbmWatsonxService

* Remove canHandleStreamingResponses

* Add requireNonNull for modelId and projectId

* Remove maxInputToken method

* Convert all optionals to required

* [CI] Auto commit changes from spotless

* Set minimal_supported version to be ML_INFERENCE_IBM_WATSONX_RERANK_ADDED

* Remove extraction of unused fields from IbmWatsonxRerankServiceSettings

* Add space

* Add space

---------

Co-authored-by: elasticsearchmachine <[email protected]>
@thecoop thecoop added >enhancement :SearchOrg/Experiences Label for the Search Experiences team labels Jan 31, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/search-experiences-team (Team:Search - Experiences)

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/search-eng (Team:SearchOrg)

@saikatsarkar056 saikatsarkar056 merged commit 3606326 into elastic:9.0 Jan 31, 2025
16 checks passed
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.

4 participants