diff --git a/documentation/authorization/examples/set_azure_key.cpp b/documentation/authorization/examples/set_azure_key.cpp new file mode 100644 index 0000000..5d777ff --- /dev/null +++ b/documentation/authorization/examples/set_azure_key.cpp @@ -0,0 +1,10 @@ +#include "liboai.h" + +using namespace liboai; + +int main() { + OpenAI oai; + if (oai.auth.SetAzureKey("hard-coded-key")) { // NOT recommended + ... + } +}