Open JSv4 opened 11 months ago
hey @JSv4
I can reproduce the bug. PR'd a fix, waiting for test suite. Will tag here when done.
also having same issue
Hey @aaazzam, any updates on this? I would love to experiment with Marvin but using Azure Open AI is pretty much a requirement for me.
Hey! That’s my bad - I think this was addressed in a recent minor release (1.5.2) but I didn’t do you the courtesy of tagging this issue or closing it.
If you update your version of Marvin I suspect that’ll do the trick!
On Mon, Oct 30, 2023 at 5:39 PM JSIV @.***> wrote:
Hey @aaazzam https://github.com/aaazzam, any updates on this? I would love to experiment with Marvin but using Azure Open AI is pretty much a requirement for me.
— Reply to this email directly, view it on GitHub https://github.com/PrefectHQ/marvin/issues/606#issuecomment-1786090060, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH4DG2NU2JWMPOP5S2EDLA3YCANAZAVCNFSM6AAAAAA5QAP53WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBWGA4TAMBWGA . You are receiving this because you were mentioned.Message ID: @.***>
Cool. Thanks @aaazzam !
First check
Bug summary
I have been having some issues using the @ai_classifier decorators with an Azure Open AI. It looks like the classifier keeps trying to ping openai for the classification even though I've specified that it should use our Azure OpenAI deployment.
I tried to configure marvin with both runtime and env file variables. I've also tried adding and dropping the ai_classifier model argument.
No matter what I do, I keep getting the error below about my api key (for azure) being invalid (for platform.openai.com). Seems like the model configuration I configured for marvin is not actually making it through to the ai_classifier I defined.
Reproduction
Additional context
No response