Open TheodorosGalanos opened 1 year ago
Thanks @TheodorosGalanos! @zzstoatzz and I are looking into this
hi @TheodorosGalanos can you explain what the response_model is for exactly? it seems to automagically format responses but I can't find any docs on openAI's site. is this a fastAPI feature, to basically conform a response to a model?
I came across the usage here too: https://github.com/yoheinakajima/instagraph/blob/main/main.py#L144C18-L144C18
First check
Bug summary
I am trying to use the new functionality with marvin.openai and response_model. However, it seems like marvin is looking for an openai api_key (as an input to the marvin.openai.ChatCompletion) even though I've passed my azure_openai.api_key in marvin.settings.
Reproduction
Error
Versions
Additional context
No response