From 7626e1aa50ab0097c319bf99ba67b8434c34c74d Mon Sep 17 00:00:00 2001 From: Gerard Woods <99283778+gjwoods@users.noreply.github.com> Date: Wed, 26 Jul 2023 10:07:22 -0700 Subject: [PATCH] [RAG] Move from text-davinci-003 to gpt-3.5 turbo (#2493) --- sdk/python/generative-ai/rag/TROUBLESHOOT.md | 2 +- .../rag/notebooks/mlindex_with_testgen_autoprompt.ipynb | 4 ++-- .../generative-ai/rag/notebooks/qa_data_generation.ipynb | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sdk/python/generative-ai/rag/TROUBLESHOOT.md b/sdk/python/generative-ai/rag/TROUBLESHOOT.md index 7deab97ee9..9a81d177ff 100644 --- a/sdk/python/generative-ai/rag/TROUBLESHOOT.md +++ b/sdk/python/generative-ai/rag/TROUBLESHOOT.md @@ -11,7 +11,7 @@ If a pipeline fails in llm_rag_validate_deployments component, then it indicates that the RAG pipeline is unable to access model deployments from Azure Open AI connection. Some of the common scenarios include - Incorrect API Base or Key for the Azure Open AI workspace connection. -- Deployment for selected model name (ex. text-embedding-ada-002, text-davinci-003, gpt-35-turbo, gpt-4 etc.) does not exist on the AOAI resource. +- Deployment for selected model name (ex. text-embedding-ada-002, gpt-35-turbo, gpt-4 etc.) does not exist on the AOAI resource. - Incorrect deployment name for the selected AOAI model. ## Unable to retrieve OBO tokens for resource diff --git a/sdk/python/generative-ai/rag/notebooks/mlindex_with_testgen_autoprompt.ipynb b/sdk/python/generative-ai/rag/notebooks/mlindex_with_testgen_autoprompt.ipynb index 396ca4cb91..580de20860 100644 --- a/sdk/python/generative-ai/rag/notebooks/mlindex_with_testgen_autoprompt.ipynb +++ b/sdk/python/generative-ai/rag/notebooks/mlindex_with_testgen_autoprompt.ipynb @@ -7,7 +7,7 @@ "outputs": [], "source": [ "%pip install azure-ai-ml\n", - "%pip install -U 'azureml-rag[faiss]>=0.1.11'" + "%pip install -U 'azureml-rag[faiss]>=0.1.14'" ] }, { @@ -193,7 +193,7 @@ "\n", "\n", "aoai_embedding_model_name = \"text-embedding-ada-002\"\n", - "aoai_completion_model_name = \"text-davinci-003\"\n", + "aoai_completion_model_name = \"gpt-35-turbo\"\n", "\n", "aoai_embedding_deployment_name = deployment_infer(aoai_embedding_model_name)\n", "print(\n", diff --git a/sdk/python/generative-ai/rag/notebooks/qa_data_generation.ipynb b/sdk/python/generative-ai/rag/notebooks/qa_data_generation.ipynb index 9c713c6544..ad43d01fce 100644 --- a/sdk/python/generative-ai/rag/notebooks/qa_data_generation.ipynb +++ b/sdk/python/generative-ai/rag/notebooks/qa_data_generation.ipynb @@ -8,7 +8,7 @@ "outputs": [], "source": [ "%pip install azure-ai-ml\n", - "%pip install -U 'azureml-rag[faiss]>=0.1.11'" + "%pip install -U 'azureml-rag[faiss]>=0.1.14'" ] }, {