FlowiseAI / Flowise

Drag & drop UI to build your customized LLM flow
https://flowiseai.com
Apache License 2.0
31.6k stars 16.47k forks source link

[FEATURE] need more freedom to input post url for AZURE #960

Open Josephrp opened 1 year ago

Josephrp commented 1 year ago

Describe the feature you'd like

currently the Azure wrapper assumes that the endpoint follows this format :

https://{your-resource-name}.openai.azure.com/openai/deployments/{deployment-id}/chat/completions?api-version={api-version}

but it could be that the endpoint follows this format :

https://eastus2.api.cognitive.microsoft.com/

especially for the 32K preview/private open ai model(s)

you it would be nice to have control over the base url , actually the whole url, and maybe point the user to the playground where they can copy their entire url

Additional context image

HenryHengZJ commented 1 year ago

oh good suggestion, we can add an additional field like Overwrite Url for the Azure node, if specified, then the hard-coded url format will be overwritten

Josephrp commented 1 year ago

we can add an additional field like Overwrite Url for the Azure node, if specified, then the hard-coded url format will be overwritten

very flexible solution + proposal , and i'm quite sure Palm Palm2 , betas are in a similar situation actually