Skip to content
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

Add text embedding processor #1007

Merged

Conversation

miguel-vila
Copy link
Contributor

Description

Adds the text embedding processor: https://opensearch.org/docs/latest/ingest-pipelines/processors/text-embedding/

Issues Resolved

Should close #1005

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: miguel-vila <miguelvilag@gmail.com>
Signed-off-by: miguel-vila <miguelvilag@gmail.com>
@miguel-vila miguel-vila force-pushed the add-text-embedding-processor branch from aa753b3 to 90f78e4 Compare May 31, 2024 13:38
Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

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

Looks pretty straightforward. Please add a test?

* compatible open source license.
*/

/*
Copy link
Collaborator

Choose a reason for hiding this comment

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

Sorry was this class copied for Elasticsearch codebase? If not, we could only keep SPDX License

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, probably something I copied and pasted from another processor class, fixed at: 752df7b

Signed-off-by: miguel-vila <miguelvilag@gmail.com>
Signed-off-by: miguel-vila <miguelvilag@gmail.com>
Signed-off-by: miguel-vila <miguelvilag@gmail.com>
@dblock
Copy link
Member

dblock commented Jun 3, 2024

@reta LGTM

@reta reta added backport 2.x Backport to 2.x branch and removed backport 2.x Backport to 2.x branch labels Jun 3, 2024
@reta reta merged commit 5b90848 into opensearch-project:main Jun 3, 2024
58 of 59 checks passed
@reta reta added the backport 2.x Backport to 2.x branch label Jun 3, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 3, 2024
* Add text embedding processor

Signed-off-by: miguel-vila <miguelvilag@gmail.com>

* add changelog entry

Signed-off-by: miguel-vila <miguelvilag@gmail.com>

* add (de)serialization test

Signed-off-by: miguel-vila <miguelvilag@gmail.com>

* fix files headers

Signed-off-by: miguel-vila <miguelvilag@gmail.com>

* fix for java 8

Signed-off-by: miguel-vila <miguelvilag@gmail.com>

---------

Signed-off-by: miguel-vila <miguelvilag@gmail.com>
(cherry picked from commit 5b90848)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
reta pushed a commit that referenced this pull request Jun 3, 2024
* Add text embedding processor



* add changelog entry



* add (de)serialization test



* fix files headers



* fix for java 8



---------


(cherry picked from commit 5b90848)

Signed-off-by: miguel-vila <miguelvilag@gmail.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@BrendonFaleiro BrendonFaleiro mentioned this pull request Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Backport to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Support text embedding processor
3 participants