[Inference API] Add Jina AI API to do inference for Embedding and Rerank models#118652
Merged
davidkyle merged 49 commits intoelastic:mainfrom Jan 8, 2025
Merged
[Inference API] Add Jina AI API to do inference for Embedding and Rerank models#118652davidkyle merged 49 commits intoelastic:mainfrom
davidkyle merged 49 commits intoelastic:mainfrom
Conversation
Collaborator
|
Pinging @elastic/ml-core (Team:ML) |
timgrein
reviewed
Dec 17, 2024
Contributor
timgrein
left a comment
There was a problem hiding this comment.
Thank you for your contribution! 👏
Excited to see JinaAI becoming another provider in Elastic's inference APIs. I gave your PR a first review pass (excluding tests for now) - I'll give it another review after these comments are addressed. Thanks!
...e/src/main/java/org/elasticsearch/xpack/inference/external/jinaai/JinaAIResponseHandler.java
Outdated
Show resolved
Hide resolved
...e/src/main/java/org/elasticsearch/xpack/inference/external/jinaai/JinaAIResponseHandler.java
Outdated
Show resolved
Hide resolved
...e/src/main/java/org/elasticsearch/xpack/inference/external/jinaai/JinaAIResponseHandler.java
Outdated
Show resolved
Hide resolved
...org/elasticsearch/xpack/inference/external/request/jinaai/JinaAIEmbeddingsRequestEntity.java
Outdated
Show resolved
Hide resolved
...a/org/elasticsearch/xpack/inference/external/response/jinaai/JinaAIRankedResponseEntity.java
Outdated
Show resolved
Hide resolved
...e/src/main/java/org/elasticsearch/xpack/inference/services/jinaai/JinaAIServiceSettings.java
Outdated
Show resolved
Hide resolved
...lasticsearch/xpack/inference/services/jinaai/embeddings/JinaAIEmbeddingsServiceSettings.java
Outdated
Show resolved
Hide resolved
...g/elasticsearch/xpack/inference/services/jinaai/embeddings/JinaAIEmbeddingsTaskSettings.java
Outdated
Show resolved
Hide resolved
...va/org/elasticsearch/xpack/inference/services/jinaai/rerank/JinaAIRerankServiceSettings.java
Outdated
Show resolved
Hide resolved
.../java/org/elasticsearch/xpack/inference/services/jinaai/rerank/JinaAIRerankTaskSettings.java
Outdated
Show resolved
Hide resolved
Member
|
@elasticmachine test this please |
Member
|
@elasticmachine test this please |
Member
|
@elasticmachine test this please |
Contributor
|
@elasticmachine test this please |
Contributor
|
@elasticmachine test this please |
Member
|
@elasticmachine test this please |
Member
|
@elasticmachine test this please |
Collaborator
💔 Backport failed
You can use sqren/backport to manually backport by running |
davidkyle
pushed a commit
to davidkyle/elasticsearch
that referenced
this pull request
Jan 8, 2025
…ank models (elastic#118652) # Conflicts: # x-pack/plugin/inference/qa/inference-service-tests/src/javaRestTest/java/org/elasticsearch/xpack/inference/InferenceCrudIT.java
elasticsearchmachine
pushed a commit
that referenced
this pull request
Jan 9, 2025
…ank models (#118652) (#119752) # Conflicts: # x-pack/plugin/inference/qa/inference-service-tests/src/javaRestTest/java/org/elasticsearch/xpack/inference/InferenceCrudIT.java Co-authored-by: Joan Fontanals <joan.fontanals.martinez@jina.ai> Co-authored-by: Jonathan Buttner <jonathan.buttner@elastic.co>
darnautov
added a commit
to elastic/kibana
that referenced
this pull request
Jan 27, 2025
## Summary Add a provider icon for the Jina AI integration elastic/elasticsearch#118652 Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Jan 27, 2025
## Summary Add a provider icon for the Jina AI integration elastic/elasticsearch#118652 Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> (cherry picked from commit 44aa347)
kibanamachine
added a commit
to elastic/kibana
that referenced
this pull request
Jan 27, 2025
# Backport This will backport the following commits from `main` to `8.x`: - [[Inference] Add Jina AI icon (#208227)](#208227) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dima Arnautov","email":"dmitrii.arnautov@elastic.co"},"sourceCommit":{"committedDate":"2025-01-27T10:10:56Z","message":"[Inference] Add Jina AI icon (#208227)\n\n## Summary\r\n\r\nAdd a provider icon for the Jina AI integration\r\nhttps://github.com/elastic/elasticsearch/pull/118652\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"44aa347102f98f60d5b3c1523a3318f301ffc3c0","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","v8.18.0"],"title":"[Inference] Add Jina AI icon ","number":208227,"url":"https://github.com/elastic/kibana/pull/208227","mergeCommit":{"message":"[Inference] Add Jina AI icon (#208227)\n\n## Summary\r\n\r\nAdd a provider icon for the Jina AI integration\r\nhttps://github.com/elastic/elasticsearch/pull/118652\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"44aa347102f98f60d5b3c1523a3318f301ffc3c0"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/208227","number":208227,"mergeCommit":{"message":"[Inference] Add Jina AI icon (#208227)\n\n## Summary\r\n\r\nAdd a provider icon for the Jina AI integration\r\nhttps://github.com/elastic/elasticsearch/pull/118652\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"44aa347102f98f60d5b3c1523a3318f301ffc3c0"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
JoseLuisGJ
pushed a commit
to JoseLuisGJ/kibana
that referenced
this pull request
Jan 27, 2025
## Summary Add a provider icon for the Jina AI integration elastic/elasticsearch#118652 Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the code to add Jina AI as a plugin to do inference for embeddigns and reranking