Support for Azure OpenAI Service Model Names in Haystack #5558
Replies: 2 comments
-
Hey @ulan-yisaev, there's support for Azure OpenAI Service in Haystack. See here: haystack/haystack/utils/openai_utils.py Line 70 in c389437 However, I see the support is only for |
Beta Was this translation helpful? Give feedback.
-
My impression is that even if we support these models, As @bilgeyucel said, feel free to open a PR, otherwise we will try to take care of it... |
Beta Was this translation helpful? Give feedback.
-
Hello Haystack maintainers and community,
I've noticed that the current code seems to be tailored for OpenAI model names that follow a specific naming convention with dots, as seen here:
https://github.com/deepset-ai/haystack/blob/c38943721fbd702367a8934cb660a72b3143eb86/haystack/utils/openai_utils.py#L89C57-L89C57
However, I've noticed that the Azure OpenAI Service models use a slightly different naming convention without the dot, such as:
Would it be possible to add support for these Azure OpenAI Service model names in Haystack? This would greatly enhance the flexibility and compatibility of the library for those of us using Azure's OpenAI Service.
Thank you for your time and consideration!
Beta Was this translation helpful? Give feedback.
All reactions