-
Notifications
You must be signed in to change notification settings - Fork 25.4k
[Inference API] Add Jina AI API to do inference for Embedding and Rerank models #118652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Pinging @elastic/ml-core (Team:ML) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
@elasticmachine test this please |
@elasticmachine test this please |
@elasticmachine test this please |
@elasticmachine test this please |
@elasticmachine test this please |
@elasticmachine test this please |
@elasticmachine test this please |
💔 Backport failed
You can use sqren/backport to manually backport by running |
…ank models (elastic#118652) # Conflicts: # x-pack/plugin/inference/qa/inference-service-tests/src/javaRestTest/java/org/elasticsearch/xpack/inference/InferenceCrudIT.java
…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>
## Summary Add a provider icon for the Jina AI integration elastic/elasticsearch#118652 Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
## 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)
# 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>
## Summary Add a provider icon for the Jina AI integration elastic/elasticsearch#118652 Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This is the code to add Jina AI as a plugin to do inference for embeddigns and reranking