logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Search::Elasticsearch::Client::8_0::Direct::Inference - The inference APIs enable you to use certain

Author

       Enrico Zimuel <enrico.zimuel@elastic.co>

Follow Methods

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' => {}
               }
           );

Name

       Search::Elasticsearch::Client::8_0::Direct::Inference - The inference APIs enable you to use certain
       services,

Version

       version 8.12

   DESCRIPTION
       The full documentation for Inference is available here:
       <https://www.elastic.co/guide/en/elasticsearch/reference/current/inference-apis.html>

See Also