Replies: 1 comment 2 replies
-
Use the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checked
Feature request
Add
AzureChatOpenAi to langchain_community/llms/__init__.py which would allow us to instantiate chains from configs using loaders such as: _load_stuff_documents_chain
Motivation
Azure is a big necessity for making usage of LLMs in the private-sector, including, but not limited to those offered by OpenAI, as many corporations have existing partnerships with Microsoft. This makes Azure the first choice for deployment of LLMs as it comes with the backing of Microsoft Azure for cloud security.
Currently, AzureChatOpenAi is missing from langchain_community/llms/init.py, making it impossible to load a chain from configs if it makes usage of
AzureChatOpenAI
where we are getting the value error:when attempting to, for example, use _load_stuff_documents_chain.
Proposal (If applicable)
At face-value, the only modification that should need to happen is in langchain_community/llms/__init__.py.. I believe this would be:
If there is any nuance beyond what I mentioned, or existing work in the pipeline to accomplish this I apologize. I did my best to check ahead of time and found nothing. I am eager to learn more and kick off a discussion to help make Langchain that much better.
Beta Was this translation helpful? Give feedback.
All reactions