alexrudall/ruby-openai

Assistants Support for Azure's new API version 2024-02-15-preview

CarterBland opened this issue · 1 comments

Is your feature request related to a problem? Please describe.
Azure released their assistance api and it appears incompatible with how URIs are built.

Describe the solution you'd like
Support assistants API by removing the deployment id for certain paths

Example:
https://custom-domain.openai.azure.com/openai/deployments/gpt-35-turbo/assistants
to
https://custom-domain.openai.azure.com/openai/assistants

Additional context
Screen Shot 2024-02-15 at 4 28 03 PM