From 9475a62ccde70b8afd69b99bc7f787165612d237 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Thu, 15 Feb 2024 22:13:44 +0400 Subject: [PATCH 1/2] Document TLS/SSL options for import script --- docs/guide/machine-learning.asciidoc | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/docs/guide/machine-learning.asciidoc b/docs/guide/machine-learning.asciidoc index 5c944d1d..08982363 100644 --- a/docs/guide/machine-learning.asciidoc +++ b/docs/guide/machine-learning.asciidoc @@ -191,4 +191,29 @@ eland_import_hub_model --es-api-key --url https://: .. -------------------------------------------------- eland_import_hub_model --hub-access-token ... -------------------------------------------------- --- \ No newline at end of file +-- + +[discrete] +[[ml-nlp-pytorch-tls]] +==== TLS/SSL + +The following TLS/SSL options for Elasticsearch are available when using the import script: + + +* Specify alternate CA bundle to verify the cluster certificate: ++ +-- +[source,bash] +-------------------------------------------------- +eland_import_hub_model --ca-certs CA_CERTS ... +-------------------------------------------------- +-- + +* Disable TLS/SSL verification altogether (strongly discouraged): ++ +-- +[source,bash] +-------------------------------------------------- +eland_import_hub_model --insecure ... +-------------------------------------------------- +-- From 8b03166885f5c74849ca06348e8d7c2c71bfe183 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Thu, 2 May 2024 17:15:57 +0400 Subject: [PATCH 2/2] Mention --help option --- docs/guide/machine-learning.asciidoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/guide/machine-learning.asciidoc b/docs/guide/machine-learning.asciidoc index f80ba94c..59004c3e 100644 --- a/docs/guide/machine-learning.asciidoc +++ b/docs/guide/machine-learning.asciidoc @@ -60,6 +60,12 @@ $ eland_import_hub_model \ <1> <4> Specify the type of NLP task. Supported values are `fill_mask`, `ner`, `question_answering`, `text_classification`, `text_embedding`, and `zero_shot_classification`. +For more information about the available options, run `eland_import_hub_model` with the `--help` option. + +[source,bash] +------------------------ +$ eland_import_hub_model --help +------------------------ [discrete] [[ml-nlp-pytorch-docker]]