### Checked other resources

- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
- [X] I am sure that this is a bug in LangChain rather than my code.
- [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

### Example Code

Dockerfile:
```
# LLM Installs
RUN pip3 install \
    langchain \
    langchain-community \
    langchain-pinecone \
    langchain-openai 
```

Python Imports
``` python
import langchain
from langchain_community.document_loaders import PyPDFLoader, TextLoader, Docx2txtLoader, UnstructuredHTMLLoader
from langchain.text_splitter import RecursiveCharacterTextSplitter
from langchain_pinecone import PineconeVectorStore  
from langchain_openai import OpenAIEmbeddings, OpenAI, ChatOpenAI
from langchain.prompts import PromptTemplate
from langchain.chains import RetrievalQAWithSourcesChain, ConversationalRetrievalChain
from langchain.memory import ConversationBufferMemory
from langchain.load.dump import dumps
```


### Error Message and Stack Trace (if applicable)

```
2024-05-30 13:28:59     from langchain_openai import OpenAIEmbeddings, OpenAI, ChatOpenAI
2024-05-30 13:28:59   File "/usr/local/lib/python3.9/site-packages/langchain_openai/__init__.py", line 1, in <module>
2024-05-30 13:28:59     from langchain_openai.chat_models import (
2024-05-30 13:28:59   File "/usr/local/lib/python3.9/site-packages/langchain_openai/chat_models/__init__.py", line 1, in <module>
2024-05-30 13:28:59     from langchain_openai.chat_models.azure import AzureChatOpenAI
2024-05-30 13:28:59   File "/usr/local/lib/python3.9/site-packages/langchain_openai/chat_models/azure.py", line 9, in <module>
2024-05-30 13:28:59     from langchain_core.language_models.chat_models import LangSmithParams
2024-05-30 13:28:59 ImportError: cannot import name 'LangSmithParams' from 'langchain_core.language_models.chat_models' (/usr/local/lib/python3.9/site-packages/langchain_core/language_models/chat_models.py)
```

### Description

I am trying to import langchain_openai with the newest version released last night (0.1.8) and it can not find the LangSmithParams module.

I move back a version with ```    langchain-openai==0.1.7  ``` and it works again. Something in this new update broke the import.

### System Info

Container is running python 3.9 on Rocky Linux 8

```
# Install dependecies
RUN dnf -y install epel-release
RUN dnf -y install \
    httpd \
    python39 \
    unzip \
    xz \
    git-core \
    ImageMagick \
    wget

RUN pip3 install \
    psycopg2-binary \
    pillow \
    lxml \
    pycryptodomex \
    six \
    pytz \
    jaraco.functools \
    requests \
    supervisor \
    flask \
    flask-cors \
    flask-socketio \
    mako \
    boto3 \
    botocore==1.34.33 \
    gotenberg-client \
    docusign-esign \
    python-dotenv \
    htmldocx \
    python-docx \
    beautifulsoup4 \
    pypandoc \
    pyetherpadlite \
    html2text \
    PyJWT \
    sendgrid \
    auth0-python \
    authlib \
    openai==0.27.7 \
    pinecone-client==3.1.0 \
    pinecone-datasets==0.7.0 \
    tiktoken==0.4.0

# Installing LLM requirements
RUN pip3 install \
    langchain \
    langchain-community \
    langchain-pinecone \
    langchain-openai==0.1.7 \
    pinecone-client \
    pinecone-datasets \
    unstructured \
    poppler-utils \
    tiktoken  \
    pypdf \
    python-dotenv \
    docx2txt

```
langchain-openai==0.1.8 is now broken
This is a GitHub Issue
repo:langchain
owner:hwchase17
Title : langchain-openai==0.1.8 is now broken
Issue date:

--- start body ---
### Checked other resources

- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
- [X] I am sure that this is a bug in LangChain rather than my code.
- [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

### Example Code

Dockerfile:
```
# LLM Installs
RUN pip3 install \
    langchain \
    langchain-community \
    langchain-pinecone \
    langchain-openai 
```

Python Imports
``` python
import langchain
from langchain_community.document_loaders import PyPDFLoader, TextLoader, Docx2txtLoader, UnstructuredHTMLLoader
from langchain.text_splitter import RecursiveCharacterTextSplitter
from langchain_pinecone import PineconeVectorStore  
from langchain_openai import OpenAIEmbeddings, OpenAI, ChatOpenAI
from langchain.prompts import PromptTemplate
from langchain.chains import RetrievalQAWithSourcesChain, ConversationalRetrievalChain
from langchain.memory import ConversationBufferMemory
from langchain.load.dump import dumps
```


### Error Message and Stack Trace (if applicable)

```
2024-05-30 13:28:59     from langchain_openai import OpenAIEmbeddings, OpenAI, ChatOpenAI
2024-05-30 13:28:59   File "/usr/local/lib/python3.9/site-packages/langchain_openai/__init__.py", line 1, in <module>
2024-05-30 13:28:59     from langchain_openai.chat_models import (
2024-05-30 13:28:59   File "/usr/local/lib/python3.9/site-packages/langchain_openai/chat_models/__init__.py", line 1, in <module>
2024-05-30 13:28:59     from langchain_openai.chat_models.azure import AzureChatOpenAI
2024-05-30 13:28:59   File "/usr/local/lib/python3.9/site-packages/langchain_openai/chat_models/azure.py", line 9, in <module>
2024-05-30 13:28:59     from langchain_core.language_models.chat_models import LangSmithParams
2024-05-30 13:28:59 ImportError: cannot import name 'LangSmithParams' from 'langchain_core.language_models.chat_models' (/usr/local/lib/python3.9/site-packages/langchain_core/language_models/chat_models.py)
```

### Description

I am trying to import langchain_openai with the newest version released last night (0.1.8) and it can not find the LangSmithParams module.

I move back a version with ```    langchain-openai==0.1.7  ``` and it works again. Something in this new update broke the import.

### System Info

Container is running python 3.9 on Rocky Linux 8

```
# Install dependecies
RUN dnf -y install epel-release
RUN dnf -y install \
    httpd \
    python39 \
    unzip \
    xz \
    git-core \
    ImageMagick \
    wget

RUN pip3 install \
    psycopg2-binary \
    pillow \
    lxml \
    pycryptodomex \
    six \
    pytz \
    jaraco.functools \
    requests \
    supervisor \
    flask \
    flask-cors \
    flask-socketio \
    mako \
    boto3 \
    botocore==1.34.33 \
    gotenberg-client \
    docusign-esign \
    python-dotenv \
    htmldocx \
    python-docx \
    beautifulsoup4 \
    pypandoc \
    pyetherpadlite \
    html2text \
    PyJWT \
    sendgrid \
    auth0-python \
    authlib \
    openai==0.27.7 \
    pinecone-client==3.1.0 \
    pinecone-datasets==0.7.0 \
    tiktoken==0.4.0

# Installing LLM requirements
RUN pip3 install \
    langchain \
    langchain-community \
    langchain-pinecone \
    langchain-openai==0.1.7 \
    pinecone-client \
    pinecone-datasets \
    unstructured \
    poppler-utils \
    tiktoken  \
    pypdf \
    python-dotenv \
    docx2txt

```
--- end body ---
