The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
docs: Update openai README.md (#29146)
Bagatur5c2fbb5b86e2
diff --git a/libs/partners/openai/README.md b/libs/partners/openai/README.mdindex e065b96854..70176f8a48 100644--- a/libs/partners/openai/README.md+++ b/libs/partners/openai/README.md@@ -10,47 +10,46 @@ pip install langchain-openai```- Get an OpenAI api key and set it as an environment variable (`OPENAI_API_KEY`)+## Chat model-## LLM--See a [usage example](http://python.langchain.com/docs/integrations/llms/openai).+See a [usage example](http://python.langchain.com/docs/integrations/chat/openai).```python-from langchain_openai import OpenAI+from langchain_openai import ChatOpenAI```If you are using a model hosted on `Azure`, you should use different wrapper for that:```python-from langchain_openai import AzureOpenAI+from langchain_openai import AzureChatOpenAI```-For a more detailed walkthrough of the `Azure` wrapper, see [here](http://python.langchain.com/docs/integrations/llms/azure_openai)+For a more detailed walkthrough of the `Azure` wrapper, see [here](http://python.langchain.com/docs/integrations/chat/azure_chat_openai)-## Chat model+## Text Embedding Model-See a [usage example](http://python.langchain.com/docs/integrations/chat/openai).+See a [usage example](http://python.langchain.com/docs/integrations/text_embedding/openai)```python-from langchain_openai import ChatOpenAI+from langchain_openai import OpenAIEmbeddings```If you are using a model hosted on `Azure`, you should use different wrapper for that:```python-from langchain_openai import AzureChatOpenAI+from langchain_openai import AzureOpenAIEmbeddings```-For a more detailed walkthrough of the `Azure` wrapper, see [here](http://python.langchain.com/docs/integrations/chat/azure_chat_openai)+For a more detailed walkthrough of the `Azure` wrapper, see [here](https://python.langchain.com/docs/integrations/text_embedding/azureopenai)-## Text Embedding Model+## LLM (Legacy)-See a [usage example](http://python.langchain.com/docs/integrations/text_embedding/openai)+LLM refers to the legacy text-completion models that preceded chat models. See a [usage example](http://python.langchain.com/docs/integrations/llms/openai).```python-from langchain_openai import OpenAIEmbeddings+from langchain_openai import OpenAI```If you are using a model hosted on `Azure`, you should use different wrapper for that:```python-from langchain_openai import AzureOpenAIEmbeddings+from langchain_openai import AzureOpenAI```-For a more detailed walkthrough of the `Azure` wrapper, see [here](https://python.langchain.com/docs/integrations/text_embedding/azureopenai)\ No newline at end of file+For a more detailed walkthrough of the `Azure` wrapper, see [here](http://python.langchain.com/docs/integrations/llms/azure_openai)