From 2bdf16dac99e04153dae67c3975438413fd97790 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Sat, 7 Oct 2023 13:22:31 -0700 Subject: [PATCH] (docs) azure --- docs/my-website/docs/providers/azure.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/my-website/docs/providers/azure.md b/docs/my-website/docs/providers/azure.md index f05c9cf507d..a713676f260 100644 --- a/docs/my-website/docs/providers/azure.md +++ b/docs/my-website/docs/providers/azure.md @@ -26,4 +26,17 @@ messages = [{ "content": "Hello, how are you?","role": "user"}] # azure call response = completion("azure/", messages) +``` + +### Set API Key, API Base, API Version in Completion() + +```python +import litellm +response = litellm.completion( + model = "azure/", # model = azure/ + api_base = "", # azure api base + api_version = "", # azure api version + api_key = "", # azure api key + messages = [{"role": "user", "content": "good morning"}], +) ``` \ No newline at end of file