Configured HTTP header user agent to reflect calls from Spring AI for reporting when using imperative code. Reactive code will require changes from Azure side, which I'm working to accomplish soon.
Comment From: tzolov
Hey @mkheck, thank for the extension.
I've started reviewing it, perhaps I will add some additional configurations to the AzureOpenAiEmbeddingOptions.
But this caused my git brain to short-circuit ;)
Could you please rebase the PR on top of the upstream/main?
Comment From: mkheck
Whaaaaa???
Absolutely. However...I've discovered a better way: updating the starter to add that identifier to upon client creation instead of within each call. This is a vastly better solution, as it leaves intact other useful info in the user agent that I've since discovered while providing visibility (and credit) for Spring-initiated Azure OpenAI calls. Win/win.
Closing this now, will submit a new, clean PR shortly. Pls ping me if you have any questions, and thank you, @tzolov!