Skip to content

Commit

Permalink
Fix failure tests
Browse files Browse the repository at this point in the history
Signed-off-by: zane-neo <zaniu@amazon.com>
  • Loading branch information
zane-neo committed Apr 12, 2024
1 parent 2e81222 commit 0fcad86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ private void validateEmbeddingFieldsValue(IngestDocument ingestDocument) {
fieldMap,
1,
ProcessorDocumentUtils.getMaxDepth(sourceAndMetadataMap, clusterService, environment),
true
false
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public IngestDocument execute(final IngestDocument ingestDocument) {
fieldMap,
1,
ProcessorDocumentUtils.getMaxDepth(sourceAndMetadataMap, clusterService, environment),
false
true
);
// fixed token length algorithm needs runtime parameter max_token_count for tokenization
Map<String, Object> runtimeParameters = new HashMap<>();
Expand Down

0 comments on commit 0fcad86

Please sign in to comment.