gpt4-pdf-chatbot-langchain icon indicating copy to clipboard operation
gpt4-pdf-chatbot-langchain copied to clipboard

Can Azure OpenAI be integrated?

Open youtaya opened this issue 1 year ago • 2 comments

Is it because langchain's Node.js does not support Azure OpenAI?

youtaya avatar Apr 15 '23 11:04 youtaya

Azure cognitive services and separate openAI may be a better and easier to use.

You can use Azure and OpenAI in langchain as you may know with python, but upon searching Langchains JS documentation I don't see anything for Azure in there. I may have missed though.

bschleter avatar Apr 15 '23 14:04 bschleter

You need an Azure enterprise account to use it

GitNinja42 avatar Apr 16 '23 13:04 GitNinja42

Hi,@youtaya. I think an and older version of Langchain is used here. Please unlock the package in your local project and go to https://js.langchain.com/docs/api/llms_openai/classes/OpenAI (use https://js.langchain.com/docs/api/llms_openai/classes/OpenAI)

alejo-perez-upc-77 avatar May 22 '23 08:05 alejo-perez-upc-77

Where should I make the changes to make it work for azure openai? I have the enterprise access

ghost avatar May 31 '23 05:05 ghost

Hi, @youtaya! I'm Dosu, and I'm helping the gpt4-pdf-chatbot-langchain team manage their backlog. I wanted to let you know that we are marking this issue as stale.

From what I understand, the issue is about integrating Azure OpenAI with langchain's Node.js, which currently seems to be unsupported. One user suggests using Azure cognitive services and separate OpenAI instead, which seems to be a viable solution. Another user mentions that an older version of Langchain may be used and provides a link to the documentation. The original author asks where to make the necessary changes to make it work for Azure OpenAI, as they have enterprise access.

If this issue is still relevant to the latest version of the gpt4-pdf-chatbot-langchain repository, please let us know by commenting on the issue. Otherwise, feel free to close the issue yourself or it will be automatically closed in 7 days.

Thank you for your understanding and contribution to the gpt4-pdf-chatbot-langchain project!

dosubot[bot] avatar Sep 23 '23 16:09 dosubot[bot]