bananaml / fructose

Apache License 2.0
720 stars 11 forks source link

Azure OpenAI #14

Closed skhaz closed 6 months ago

skhaz commented 6 months ago

Is there any way to use the Azure API?

Thank you.

erik-dunteman commented 6 months ago

should be possible with using a custom client: https://github.com/bananaml/fructose/issues/13#issuecomment-1984124960

though note that the @ai decorator uses the json return mode, and uses uses openai's tools, which have different behaviors or may not be supported on other providers. Assuming Azure OpenAI does support this full feature