Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ private static CommonFields commonFieldsFromMap(Map<String, Object> map, Validat
private final DenseVectorFieldMapper.ElementType elementType;

CustomElandInternalTextEmbeddingServiceSettings(
int numAllocations,
Integer numAllocations,
Copy link
Contributor Author

@jan-elastic jan-elastic Apr 4, 2025

Choose a reason for hiding this comment

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

Setting adaptive allocations (and thereby passing numAllocations = null) currently doesn't work for custom models. The parent constructor also has Integer numAllocations.

int numThreads,
String modelId,
AdaptiveAllocationsSettings adaptiveAllocationsSettings,
Expand Down