Skip to content

Commit

Permalink
[Indx Mgmt] Enable semantic text adaptive allocations by default (ela…
Browse files Browse the repository at this point in the history
…stic#200168)

## Summary

This enables adaptive allocations for semantic text fields by default.
  • Loading branch information
sphilipse authored Nov 19, 2024
1 parent 0c66148 commit dde4271
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,9 @@ describe('useSemanticText', () => {
{
service: 'elser',
service_settings: {
num_allocations: 1,
adaptive_allocations: {
enabled: true,
},
num_threads: 1,
model_id: '.elser_model_2',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export function useSemanticText(props: UseSemanticTextProps) {
: {
service: defaultInferenceEndpointConfig.service,
service_settings: {
num_allocations: 1,
adaptive_allocations: { enabled: true },
num_threads: 1,
model_id: trainedModelId,
},
Expand Down

0 comments on commit dde4271

Please sign in to comment.