Search::Elasticsearch::Client::8_0::Direct::Inference - The inference APIs enable you to use certain services,
version 8.12
The full documentation for Inference is available here: https://www.elastic.co/guide/en/elasticsearch/reference/current/inference-apis.html
follow()
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' => {} } );
Enrico Zimuel <enrico.zimuel@elastic.co>
This software is Copyright (c) 2024 by Elasticsearch BV.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install Search::Elasticsearch::Client::8_0, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Search::Elasticsearch::Client::8_0
CPAN shell
perl -MCPAN -e shell install Search::Elasticsearch::Client::8_0
For more information on module installation, please visit the detailed CPAN module installation guide.