AzureOpenAI is missing #10664
Labels
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
Ɑ: embeddings
Related to text embedding models module
Ɑ: models
Related to LLMs or chat model modules
System Info
Hello,
I noticed that the
AzureOpenAI
is missing from the latest release. Now we kind of have to create our own custom class. Is this the direction of the project?Thank you
Who can help?
No response
Information
Related Components
Reproduction
from langchain.llms import AzureOpenAI
no logner availiable
no possibility to add engine or deployment id, nor the possibility to add extra headers
Expected behavior
from langchain.llms import AzureOpenAI
os.environ["OPENAI_API_TYPE"] = "azure"
os.environ["OPENAI_API_BASE"] = "https://<your-endpoint.openai.azure.com/"
os.environ["OPENAI_API_KEY"] = "your AzureOpenAI key"
os.environ["OPENAI_API_VERSION"] = "2023-05-15"
embeddings = OpenAIEmbeddings(deployment="your-embeddings-deployment-name")
The text was updated successfully, but these errors were encountered: