Skip to content

Commit a6dd48a

Browse files
committed
update finish reason
1 parent 8808a15 commit a6dd48a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

articles/cognitive-services/openai/reference.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/deployments/YOUR_DEPLOYM
108108
}
109109
```
110110

111+
In the example response, `finish_reason` equals `stop`. If `finish_reason` equals `content_filter` consult our [content filtering guide](./concepts/content-filter.md) to understand why this is occurring.
112+
111113
## Embeddings
112114
Get a vector representation of a given input that can be easily consumed by machine learning models and other algorithms.
113115

@@ -212,6 +214,8 @@ curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/deployments/YOUR_DEPLOYM
212214
"content":"Yes, other Azure Cognitive Services also support customer managed keys. Azure Cognitive Services offer multiple options for customers to manage keys, such as using Azure Key Vault, customer-managed keys in Azure Key Vault or customer-managed keys through Azure Storage service. This helps customers ensure that their data is secure and access to their services is controlled."},"finish_reason":"stop","index":0}]}
213215
```
214216

217+
In the example response, `finish_reason` equals `stop`. If `finish_reason` equals `content_filter` consult our [content filtering guide](./concepts/content-filter.md) to understand why this is occurring.
218+
215219
Output formatting adjusted for ease of reading, actual output is a single block of text without line breaks.
216220

217221
| Parameter | Type | Required? | Default | Description |

0 commit comments

Comments
 (0)