neferdata / allms

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

Azure OpenAI support #48

Closed kamillitman closed 1 month ago

kamillitman commented 1 month ago

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

kamillitman commented 1 month 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.