|
NAMESearch::Elasticsearch::Client::8_0::Direct::Inference - The inference APIs enable you to use certain services, VERSIONversion 8.12 DESCRIPTIONThe full documentation for Inference is available here: <https://www.elastic.co/guide/en/elasticsearch/reference/current/inference-apis.html> FOLLOW METHODSfollow() my $response = $es->inference->put_model(
'task_type' => 'sparse_embedding',
'model_id' => 'my-elser-model',
'body' => {
'service' => 'elser',
'service_settings' => {
'num_allocations' => 1,
'num_threads' => 1
},
'task_settings' => {}
}
);
AUTHOREnrico Zimuel <enrico.zimuel@elastic.co> COPYRIGHT AND LICENSEThis software is Copyright (c) 2024 by Elasticsearch BV. This is free software, licensed under: The Apache License, Version 2.0, January 2004
|