From 9991ea6d6ffb104d10d37a6bca30c7423912d99a Mon Sep 17 00:00:00 2001 From: Henrique Chaves Date: Thu, 14 Nov 2024 18:43:38 -0300 Subject: [PATCH] Fix Azure OpenAI client setup docs --- docs/open_source/scan/scan_llm/index.md | 2 +- docs/open_source/setting_up/index.md | 2 +- docs/open_source/testset_generation/testset_generation/index.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/open_source/scan/scan_llm/index.md b/docs/open_source/scan/scan_llm/index.md index aa289f7343..e1a6b781bc 100644 --- a/docs/open_source/scan/scan_llm/index.md +++ b/docs/open_source/scan/scan_llm/index.md @@ -87,7 +87,7 @@ os.environ['OPENAI_API_VERSION'] = '2023-07-01-preview' # You'll need to provide the name of the model that you've deployed # Beware, the model provided must be capable of using function calls giskard.llm.set_llm_model('my-gpt-4-model') -giskard.llm.embeddings.set_embedding_model('my-embedding-model') +giskard.llm.embeddings.openai.set_embedding_model('my-embedding-model') ``` :::::: diff --git a/docs/open_source/setting_up/index.md b/docs/open_source/setting_up/index.md index 28a7051a61..30f0cc2148 100644 --- a/docs/open_source/setting_up/index.md +++ b/docs/open_source/setting_up/index.md @@ -40,7 +40,7 @@ os.environ['OPENAI_API_VERSION'] = '2023-07-01-preview' # You'll need to provide the name of the model that you've deployed # Beware, the model provided must be capable of using function calls giskard.llm.set_llm_model('my-gpt-4-model') -giskard.llm.embeddings.set_embedding_model('my-embedding-model') +giskard.llm.embeddings.openai.set_embedding_model('my-embedding-model') ``` ## Mistral Client Setup diff --git a/docs/open_source/testset_generation/testset_generation/index.md b/docs/open_source/testset_generation/testset_generation/index.md index b82df8764c..e73449b15b 100644 --- a/docs/open_source/testset_generation/testset_generation/index.md +++ b/docs/open_source/testset_generation/testset_generation/index.md @@ -121,7 +121,7 @@ os.environ['OPENAI_API_VERSION'] = '2023-07-01-preview' # You'll need to provide the name of the model that you've deployed # Beware, the model provided must be capable of using function calls giskard.llm.set_llm_model('my-gpt-4-model') -giskard.llm.embeddings.set_embedding_model('my-embedding-model') +giskard.llm.embeddings.openai.set_embedding_model('my-embedding-model') ``` ::::::