neferdata / allms

allms: One Rust Library to rule them aLLMs
https://crates.io/crates/allms
Other
45 stars 6 forks source link

Azure OpenAI support #48

Closed kamillitman closed 2 months ago

kamillitman commented 2 months ago

This PR allows to use OpenAI via Azure by selecting OpenAIAssistantVersion::Azure.

kamillitman commented 2 months ago

I know that you mentioned that using azure would save a significant amount of $$$, please merge away!!

I suggest that you throw some tests to get_endpoint get_tools_payload to make sure that the requests are build properly for azure and openai

Tests added.