Commit a6f685c
Adding common rerank options to Perform Inference API (elastic#125239)
* wip
* Adding rerank common options
* Linting
* Linting
* [CI] Auto commit changes from spotless
* Update docs/changelog/125239.yaml
* PR feedback
---------
Co-authored-by: elasticsearchmachine <[email protected]>1 parent af1f145 commit a6f685c
File tree
66 files changed
+1248
-229
lines changed- docs/changelog
- server/src/main/java/org/elasticsearch
- inference
- x-pack/plugin
- core/src
- main/java/org/elasticsearch/xpack/core/inference/action
- test/java/org/elasticsearch/xpack/core/inference/action
- inference
- qa/test-service-plugin/src/main/java/org/elasticsearch/xpack/inference/mock
- src
- main/java/org/elasticsearch/xpack/inference
- action
- external
- action/voyageai
- http/sender
- request
- alibabacloudsearch
- cohere
- googlevertexai
- jinaai
- voyageai
- response/googlevertexai
- queries
- rank/textsimilarity
- services
- alibabacloudsearch
- elasticsearch
- validation
- test/java/org/elasticsearch/xpack/inference
- action
- external
- http/sender
- request
- alibabacloudsearch
- cohere
- googlevertexai
- jinaai
- voyageai
- response/googlevertexai
- rank/textsimilarity
- services
- alibabacloudsearch
- amazonbedrock
- anthropic
- azureaistudio
- azureopenai
- cohere
- deepseek
- elastic
- googleaistudio
- huggingface
- ibmwatsonx
- jinaai
- mistral
- openai
- validation
- voyageai
- ml/src/main/java/org/elasticsearch/xpack/ml/action
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
66 files changed
+1248
-229
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
158 | 159 | | |
159 | 160 | | |
160 | 161 | | |
| |||
201 | 202 | | |
202 | 203 | | |
203 | 204 | | |
| 205 | + | |
204 | 206 | | |
205 | 207 | | |
206 | 208 | | |
| |||
Lines changed: 12 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
| 108 | + | |
| 109 | + | |
106 | 110 | | |
107 | 111 | | |
108 | 112 | | |
| |||
Lines changed: 81 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| 73 | + | |
| 74 | + | |
71 | 75 | | |
72 | 76 | | |
73 | 77 | | |
| |||
89 | 93 | | |
90 | 94 | | |
91 | 95 | | |
| 96 | + | |
| 97 | + | |
92 | 98 | | |
93 | 99 | | |
94 | 100 | | |
| |||
99 | 105 | | |
100 | 106 | | |
101 | 107 | | |
| 108 | + | |
| 109 | + | |
102 | 110 | | |
103 | 111 | | |
104 | 112 | | |
| |||
109 | 117 | | |
110 | 118 | | |
111 | 119 | | |
| 120 | + | |
| 121 | + | |
112 | 122 | | |
113 | 123 | | |
114 | 124 | | |
| |||
122 | 132 | | |
123 | 133 | | |
124 | 134 | | |
| 135 | + | |
| 136 | + | |
125 | 137 | | |
126 | 138 | | |
127 | 139 | | |
| |||
133 | 145 | | |
134 | 146 | | |
135 | 147 | | |
| 148 | + | |
| 149 | + | |
136 | 150 | | |
137 | 151 | | |
138 | 152 | | |
| |||
164 | 178 | | |
165 | 179 | | |
166 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
167 | 190 | | |
168 | 191 | | |
169 | 192 | | |
| |||
184 | 207 | | |
185 | 208 | | |
186 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
187 | 218 | | |
188 | 219 | | |
189 | 220 | | |
| |||
225 | 256 | | |
226 | 257 | | |
227 | 258 | | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
228 | 270 | | |
229 | 271 | | |
230 | 272 | | |
| |||
258 | 300 | | |
259 | 301 | | |
260 | 302 | | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
261 | 309 | | |
262 | 310 | | |
263 | 311 | | |
| |||
283 | 331 | | |
284 | 332 | | |
285 | 333 | | |
| 334 | + | |
| 335 | + | |
286 | 336 | | |
287 | 337 | | |
288 | 338 | | |
| |||
296 | 346 | | |
297 | 347 | | |
298 | 348 | | |
| 349 | + | |
| 350 | + | |
299 | 351 | | |
300 | 352 | | |
301 | 353 | | |
| |||
312 | 364 | | |
313 | 365 | | |
314 | 366 | | |
| 367 | + | |
| 368 | + | |
315 | 369 | | |
316 | 370 | | |
317 | 371 | | |
| |||
338 | 392 | | |
339 | 393 | | |
340 | 394 | | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
341 | 405 | | |
342 | 406 | | |
343 | 407 | | |
| |||
373 | 437 | | |
374 | 438 | | |
375 | 439 | | |
376 | | - | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
377 | 453 | | |
378 | 454 | | |
379 | 455 | | |
| |||
384 | 460 | | |
385 | 461 | | |
386 | 462 | | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
387 | 467 | | |
388 | 468 | | |
389 | 469 | | |
| |||
0 commit comments