From 5214a7a5f6ef683355adc8c43726ba7b80356d35 Mon Sep 17 00:00:00 2001 From: Renaud Hartert Date: Wed, 20 Nov 2024 14:14:38 +0100 Subject: [PATCH] Fix typo --- databricks/sdk/mixins/open_ai_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/databricks/sdk/mixins/open_ai_client.py b/databricks/sdk/mixins/open_ai_client.py index f7a8af02..a8682712 100644 --- a/databricks/sdk/mixins/open_ai_client.py +++ b/databricks/sdk/mixins/open_ai_client.py @@ -29,7 +29,7 @@ def get_open_ai_client(self): from openai import OpenAI except Exception: raise ImportError( - "Open AI is not installed. Please install the Databricks SDK with the following command `pip isntall databricks-sdk[openai]`" + "Open AI is not installed. Please install the Databricks SDK with the following command `pip install databricks-sdk[openai]`" ) return OpenAI( @@ -42,7 +42,7 @@ def get_langchain_chat_open_ai_client(self, model): from langchain_openai import ChatOpenAI except Exception: raise ImportError( - "Langchain Open AI is not installed. Please install the Databricks SDK with the following command `pip isntall databricks-sdk[openai]` and ensure you are using python>3.7" + "Langchain Open AI is not installed. Please install the Databricks SDK with the following command `pip install databricks-sdk[openai]` and ensure you are using python>3.7" ) return ChatOpenAI(