Skip to content

Commit 8938f4c

Browse files
committed
removing header
1 parent 070f3b2 commit 8938f4c

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

articles/ai-services/openai/includes/use-your-data-rest.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ To successfully make a call against Azure OpenAI, you need the following variabl
2323
| `AOAIEndpoint` | This value can be found in the **Keys & Endpoint** section when examining your Azure OpenAI resource from the Azure portal. Alternatively, you can find the value in **Azure AI studio** > **Chat playground** > **Code view**. An example endpoint is: `https://my-resoruce.openai.azure.com`.|
2424
| `AOAIKey` | This value can be found in **Resource management** > **Keys & Endpoint** section when examining your Azure OpenAI resource from the Azure portal. You can use either `KEY1` or `KEY2`. Always having two keys allows you to securely rotate and regenerate keys without causing a service disruption. |
2525
| `AOAIDeploymentId` | This value corresponds to the custom name you chose for your deployment when you deployed a model. This value can be found under **Resource Management** > **Deployments** in the Azure portal or alternatively under **Management** > **Deployments** in Azure AI studio.|
26-
| `ChatGptUrl` | The Azure OpenAI ChatGPT endpoint that will be used to fulfill the request. This can be the same endpoint as `AoAIEndpoint`. |
27-
| `ChatGptKey` | If you are using the same Azure OpenAI resource for both `ChatGptUrl` and `AOAIEndpoint`, use the same value as `AOAIKey`. |
2826
| `SearchEndpoint` | This value can be found in the **Overview** section when examining your Azure Cognitive Search resource from the Azure portal. |
2927
| `SearchKey` | This value can be found in the **Resource management** > **Keys & Endpoint** section when examining your Azure Cognitive Search resource from the Azure portal. You can use either `KEY1` or `KEY2`. Always having two keys allows you to securely rotate and regenerate keys without causing a service disruption. |
3028
| `SearchIndex` | This value corresponds to the name of the index you created to store your data. You can find it in the **Overview** section when examining your Azure Cognitive Search resource from the Azure portal. |
@@ -43,12 +41,6 @@ setx AOAIKey REPLACE_WITH_YOUR_AOAI_KEY_VALUE_HERE
4341
setx AOAIDeploymentId REPLACE_WITH_YOUR_AOAI_DEPLOYMENT_VALUE_HERE
4442
```
4543
```CMD
46-
setx ChatGptUrl REPLACE_WITH_YOUR_AOAI_COMPLETION_VALUE_HERE
47-
```
48-
```CMD
49-
setx ChatGptKey REPLACE_WITH_YOUR_AOAI_KEY_VALUE_HERE
50-
```
51-
```CMD
5244
setx SearchEndpoint REPLACE_WITH_YOUR_AZURE_SEARCH_RESOURCE_VALUE_HERE
5345
```
5446
```CMD
@@ -73,14 +65,6 @@ setx SearchIndex REPLACE_WITH_YOUR_INDEX_NAME_HERE
7365
[System.Environment]::SetEnvironmentVariable('AOAIDeploymentId', 'REPLACE_WITH_YOUR_AOAI_DEPLOYMENT_VALUE_HERE', 'User')
7466
```
7567

76-
```powershell
77-
[System.Environment]::SetEnvironmentVariable('ChatGptUrl', 'REPLACE_WITH_YOUR_AOAI_COMPLETION_VALUE_HERE', 'User')
78-
```
79-
80-
```powershell
81-
[System.Environment]::SetEnvironmentVariable('ChatGptKey', 'REPLACE_WITH_YOUR_AOAI_KEY_VALUE_HERE', 'User')
82-
```
83-
8468
```powershell
8569
[System.Environment]::SetEnvironmentVariable('SearchEndpoint', 'REPLACE_WITH_YOUR_AZURE_SEARCH_RESOURCE_VALUE_HERE', 'User')
8670
```
@@ -138,8 +122,6 @@ To trigger a response from the model, you should end with a user message indicat
138122
curl -i -X POST $AOAIEndpoint/openai/deployments/$AOAIDeploymentId/extensions/chat/completions?api-version=2023-06-01-preview \
139123
-H "Content-Type: application/json" \
140124
-H "api-key: $AOAIKey" \
141-
-H "chatgpt_url: $ChatGptUrl" \
142-
-H "chatgpt_key: $ChatGptKey" \
143125
-d \
144126
'
145127
{

articles/ai-services/openai/reference.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,6 @@ POST {your-resource-name}/openai/deployments/{deployment-id}/extensions/chat/com
310310
curl -i -X POST YOUR_RESOURCE_NAME/openai/deployments/YOUR_DEPLOYMENT_NAME/extensions/chat/completions?api-version=2023-06-01-preview \
311311
-H "Content-Type: application/json" \
312312
-H "api-key: YOUR_API_KEY" \
313-
-H "chatgpt_url: YOUR_RESOURCE_URL" \
314-
-H "chatgpt_key: YOUR_API_KEY" \
315313
-d \
316314
'
317315
{

0 commit comments

Comments
 (0)