RoadieHQ / roadie-backstage-plugins

All Backstage plugins created by Roadie.
https://roadie.io
Apache License 2.0
251 stars 371 forks source link

RAG AI plugin - support for Azure OpenAI #1398

Open joezamolo opened 1 month ago

joezamolo commented 1 month ago

Feature Suggestion

Support for Microsoft Azure OpenAI Service as an optional service provider that can be swapped out instead of OpenAI itself.

Possible Implementation

Not sure about implementation details, sorry 😅 this is just an idea I wanted to share here.

Context

This would allow customers for whom Azure is the primary cloud provider to take advantage of this plugin, especially where there are concerns around AI and usage of an organization's proprietary data.

nia-potato commented 1 month ago

also have the same request here!

Xantier commented 1 month ago

Hi, thanks. This makes a ton of sense and would be a good addition. I don't have an Azure account with OpenAI enabled at the moment so we would need some implementation help on this. Luckily it shouldn't be too big of a task to add this in.

The implementation of this on a base level would be very similar as AWS Bedrock currently is. There would be a need to create a new (Azure OpenAI) embeddings package, add the configuration options for it, and use the Langchain dependency to initialize these embeddings.

The approach would likely be mostly copy-pasting the current AWS implementation and modifying it to call Azure OpenAI instead.

Resources for this: