-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Handle empty input inference #123763
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
Merged
Samiul-TheSoccerFan
merged 25 commits into
elastic:main
from
Samiul-TheSoccerFan:handle-empty-input-inference
Mar 8, 2025
Merged
Handle empty input inference #123763
Changes from 7 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
9d6a32e
Added check for blank string to skip generating embeddings with unit …
Samiul-TheSoccerFan 16f0b5a
Adding yaml tests for skipping embedding generation
Samiul-TheSoccerFan 96605bb
Merge branch 'main' into handle-empty-input-inference
elasticmachine 6403aa0
dynamic update not required if model_settings stays null
Samiul-TheSoccerFan 6e0d484
Updating node feature for handling empty input name and description
Samiul-TheSoccerFan aeaf117
Update yaml tests with refresh=true
Samiul-TheSoccerFan bb99b3b
Update unit test to follow more accurate behavior
Samiul-TheSoccerFan 6509870
Added yaml tests for multu chunks
Samiul-TheSoccerFan 3c4c3ed
[CI] Auto commit changes from spotless
f085df3
Merge branch 'main' into handle-empty-input-inference
elasticmachine f7d9359
Adding highlighter yaml tests for empty input
Samiul-TheSoccerFan 285226a
Update docs/changelog/123763.yaml
Samiul-TheSoccerFan 43406db
Update changelog and test reason to have more polished documentation
Samiul-TheSoccerFan 78c5e12
adding input value into the response source and fixing unit tests by …
Samiul-TheSoccerFan 33a533a
Adding highligher test for backward compatibility and refactor existi…
Samiul-TheSoccerFan cd15c9e
Added bwc tests for empty input and multi chunks
Samiul-TheSoccerFan 2fb0092
Removed reindex for empty input from bwc
Samiul-TheSoccerFan 1a275db
[CI] Auto commit changes from spotless
7486fe8
Merge branch 'main' into handle-empty-input-inference
elasticmachine 6123d1a
Fixing yaml test
Samiul-TheSoccerFan d31d281
Update unit tests helper function to support both format
Samiul-TheSoccerFan 78a390c
[CI] Auto commit changes from spotless
09a298a
Adding cluster features for bwc
Samiul-TheSoccerFan 72886bf
Centralize logic for assertInference helper
Samiul-TheSoccerFan 1179f84
resolve conflicts from main
Samiul-TheSoccerFan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| pr: 123763 | ||
| summary: Handle empty input inference | ||
| summary: Skip semantic_text embedding generation when no content is provided. | ||
| area: Relevance | ||
| type: enhancement | ||
| issues: [] | ||
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
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
Mikep86 marked this conversation as resolved.
Show resolved
Hide resolved
Mikep86 marked this conversation as resolved.
Show resolved
Hide resolved
|
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
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
Mikep86 marked this conversation as resolved.
Show resolved
Hide resolved
|
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.