Skip to content

[Inference API] Adding dimensions for Jina AI embeddings v3 model#139642

Merged
jonathan-buttner merged 2 commits intoelastic:9.2from
jonathan-buttner:ia-eis-jinav3
Dec 16, 2025
Merged

[Inference API] Adding dimensions for Jina AI embeddings v3 model#139642
jonathan-buttner merged 2 commits intoelastic:9.2from
jonathan-buttner:ia-eis-jinav3

Conversation

@jonathan-buttner
Copy link
Contributor

@jonathan-buttner jonathan-buttner commented Dec 16, 2025

This PR fixes a bug where the dimensions field wasn't provided for the jina ai embeddings v3 model.

Testing

Using the preconfigured endpoint should succeed through a semantic text field.

PUT test-01
{
  "mappings": {
    "properties": {
      "content": {
        "type": "semantic_text",
        "inference_id": ".jina-embeddings-v3"
      }
    }
  }
}

POST test-01/_doc
{
  "content": "test"
}

@jonathan-buttner jonathan-buttner added >bug cloud-deploy Publish cloud docker image for Cloud-First-Testing Feature:GenAI Features around GenAI Team:Search - Inference v9.2.4 v8.19.10 auto-backport Automatically create backport pull requests when merged and removed auto-backport Automatically create backport pull requests when merged v8.19.10 labels Dec 16, 2025
@jonathan-buttner jonathan-buttner marked this pull request as ready for review December 16, 2025 21:50
@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label and removed Team:Search - Inference labels Dec 16, 2025
@jonathan-buttner jonathan-buttner added :SearchOrg/Inference Label for the Search Inference team Team:Search - Inference and removed needs:triage Requires assignment of a team area label labels Dec 16, 2025
@jonathan-buttner jonathan-buttner enabled auto-merge (squash) December 16, 2025 21:51
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/search-inference-team (Team:Search - Inference)

@jonathan-buttner jonathan-buttner added v8.19.10 auto-backport Automatically create backport pull requests when merged labels Dec 16, 2025
Copy link
Contributor

@brendan-jugan-elastic brendan-jugan-elastic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for figuring this out!

@jonathan-buttner jonathan-buttner merged commit 489f23d into elastic:9.2 Dec 16, 2025
36 checks passed
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.19 Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 139642

@jonathan-buttner
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.19

Questions ?

Please refer to the Backport tool documentation

@jonathan-buttner jonathan-buttner deleted the ia-eis-jinav3 branch December 19, 2025 19:25
elasticsearchmachine pushed a commit that referenced this pull request Dec 20, 2025
…39849)

* Adding dimensions to jina preconfigured endpoint (#139642)

(cherry picked from commit 489f23d)

# Conflicts:
#	x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/elastic/ElasticInferenceService.java
#	x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/services/elastic/ElasticInferenceServiceTests.java

* Fixing auth response
@jonathan-buttner
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
9.1

Questions ?

Please refer to the Backport tool documentation

jonathan-buttner added a commit to jonathan-buttner/elasticsearch that referenced this pull request Jan 9, 2026
(cherry picked from commit 489f23d)

# Conflicts:
#	x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/elastic/ElasticInferenceService.java
#	x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/services/elastic/ElasticInferenceServiceTests.java
elasticsearchmachine pushed a commit that referenced this pull request Jan 9, 2026
…0465)

* Adding dimensions to jina preconfigured endpoint (#139642)

(cherry picked from commit 489f23d)

# Conflicts:
#	x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/elastic/ElasticInferenceService.java
#	x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/services/elastic/ElasticInferenceServiceTests.java

* Fixing test

* Muting failing tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged backport pending >bug cloud-deploy Publish cloud docker image for Cloud-First-Testing Feature:GenAI Features around GenAI :SearchOrg/Inference Label for the Search Inference team Team:Search - Inference v8.19.10 v9.2.4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants