Skip to content

Commit 74f9a4f

Browse files
[Internal] Fix a couple of typos in open_ai_client.py (#829)
## What changes are proposed in this pull request? This PR fixes a couple of typos in `open_ai_client.py`. ## How is this tested? N/A
1 parent 197b5f9 commit 74f9a4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

databricks/sdk/mixins/open_ai_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def get_open_ai_client(self):
2929
from openai import OpenAI
3030
except Exception:
3131
raise ImportError(
32-
"Open AI is not installed. Please install the Databricks SDK with the following command `pip isntall databricks-sdk[openai]`"
32+
"Open AI is not installed. Please install the Databricks SDK with the following command `pip install databricks-sdk[openai]`"
3333
)
3434

3535
return OpenAI(
@@ -42,7 +42,7 @@ def get_langchain_chat_open_ai_client(self, model):
4242
from langchain_openai import ChatOpenAI
4343
except Exception:
4444
raise ImportError(
45-
"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"
45+
"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"
4646
)
4747

4848
return ChatOpenAI(

0 commit comments

Comments
 (0)