Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

Integrate Azure Open AI

Open ram-msft opened this issue 2 years ago • 8 comments

Can you integrate Azure Open AI also

ram-msft avatar May 04 '23 16:05 ram-msft

please do, us enterprise devs would love to show this off to management, but cant due to the inability to get non azure OpenAI approved under security policies.

OwenVanV avatar May 04 '23 20:05 OwenVanV

Waiting the official Azure OpenAI from LangChainJS https://github.com/hwchase17/langchainjs/pull/966 to be merged

HenryHengZJ avatar May 05 '23 09:05 HenryHengZJ

Rawkin, it got merged. So I pulled that lib in and wow, a lot of breaking changes. Are you guys seeing the same thing?

I wanted to help get these changes in for Azure but wanted to see if there was a plan to cover the breaking changes? I can help out on that for sure.

levidehaan avatar May 08 '23 07:05 levidehaan

please do, us enterprise devs would love to show this off to management, but cant due to the inability to get non azure OpenAI approved under security policies.

It took a while but the legal team at my co finally gave in and let us get it for internal use, but now BI wants to use it for customer stuff. Exciting times ahead :)

I can test all the way up to 32k once this is merged.

levidehaan avatar May 08 '23 07:05 levidehaan

Any news?

OwenVanV avatar May 12 '23 12:05 OwenVanV

WIP - https://github.com/FlowiseAI/Flowise/pull/92

HenryHengZJ avatar May 12 '23 12:05 HenryHengZJ

Would you guys be willing to test the branch - feature/Azure @OwenVanV , @ram-msft , @levidehaan?

as we don't have access to Azure OpenAI, we'll have to rely the community to test it out.

Thanks!

HenryHengZJ avatar May 12 '23 16:05 HenryHengZJ

@HenryHengZJ For sure, I wil test for you tomorrow and let you know!

OwenVanV avatar May 15 '23 01:05 OwenVanV

Yes I have tested it, and it is working for me.

Sorry for the wait my work computer died and I've been working on recovery because wsl doesn't get backed up... anyways, last test I did was working. Still can't do huge docs on my last test but that could have been fixed in all the updates this past week.

levidehaan avatar May 17 '23 18:05 levidehaan

Closing as #92 merged

HenryHengZJ avatar May 17 '23 18:05 HenryHengZJ

The latest version of azure openAI is 2023-05-15, how can I add this version to the selection list? image Currently I have to change the value of the API version selection box using Chrome debug backend by hand.....It is not an elegant way to do that and I have to do it again every time I reload.

sullivanzheng avatar Jun 09 '23 13:06 sullivanzheng

here - https://github.com/FlowiseAI/Flowise/blob/main/packages/components/nodes/llms/Azure%20OpenAI/AzureOpenAI.ts#L106 you can just add another one

HenryHengZJ avatar Jun 09 '23 13:06 HenryHengZJ