dotnet-smartcomponents / smartcomponents

Experimental, end-to-end AI features for .NET apps
694 stars 61 forks source link

Example for when OpenAi is behind APIM #61

Open bakes82 opened 3 months ago

bakes82 commented 3 months ago

Do you have any examples for when Azure OpenAi is behind a APIM which seems to be MS Recommended Approach?

https://learn.microsoft.com/en-us/semantic-kernel/deploy/use-ai-apis-with-api-management

SteveSandersonMS commented 3 months ago

I'm afraid I don't currently have a sample for that, but we will hopefully complete getting the underlying code open-sourced shortly, at which point you'll be able to see how to create a customized OpenAIInferenceBackend that would do it.