(docs) update azure docs

This commit is contained in:
ishaan-jaff 2023-10-07 12:08:19 -07:00
parent 66dd747f68
commit 37454cf874
3 changed files with 5 additions and 5 deletions

View file

@ -100,7 +100,7 @@ os.environ["AZURE_API_VERSION"] = ""
# azure call # azure call
response = completion( response = completion(
"azure/<your_deployment_id>", "azure/<your_deployment_name>",
messages = [{ "content": "Hello, how are you?","role": "user"}] messages = [{ "content": "Hello, how are you?","role": "user"}]
) )
``` ```
@ -229,7 +229,7 @@ os.environ["AZURE_API_VERSION"] = ""
# azure call # azure call
response = completion( response = completion(
"azure/<your_deployment_id>", "azure/<your_deployment_name>",
messages = [{ "content": "Hello, how are you?","role": "user"}], messages = [{ "content": "Hello, how are you?","role": "user"}],
stream=True, stream=True,
) )

View file

@ -25,5 +25,5 @@ os.environ["AZURE_API_VERSION"] = ""
messages = [{ "content": "Hello, how are you?","role": "user"}] messages = [{ "content": "Hello, how are you?","role": "user"}]
# azure call # azure call
response = completion("azure/<your_deployment_id>", messages) response = completion("azure/<your_deployment_name>", messages)
``` ```

View file

@ -99,7 +99,7 @@ os.environ["AZURE_API_VERSION"] = ""
# azure call # azure call
response = completion( response = completion(
"azure/<your_deployment_id>", "azure/<your_deployment_name>",
messages = [{ "content": "Hello, how are you?","role": "user"}] messages = [{ "content": "Hello, how are you?","role": "user"}]
) )
``` ```
@ -228,7 +228,7 @@ os.environ["AZURE_API_VERSION"] = ""
# azure call # azure call
response = completion( response = completion(
"azure/<your_deployment_id>", "azure/<your_deployment_name>",
messages = [{ "content": "Hello, how are you?","role": "user"}], messages = [{ "content": "Hello, how are you?","role": "user"}],
stream=True, stream=True,
) )