File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
articles/ai-services/content-safety Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -61,9 +61,9 @@ curl -X PUT "<your_endpoint>/contentsafety/text/categories/survival-advice?api-v
61
61
-H " Ocp-Apim-Subscription-Key: <your_api_key>" \
62
62
-H " Content-Type: application/json" \
63
63
-d " {
64
- \" categoryName\" : \" survival-advice\" ,
65
- \" definition\" : \" text prompts about survival advice in camping/wilderness situations\" ,
66
- \" sampleBlobUrl\" : \" https://<your-azure-storage-url>/example-container/survival-advice.jsonl\"
64
+ \" categoryName\" : \" survival-advice\" ,
65
+ \" definition\" : \" text prompts about survival advice in camping/wilderness situations\" ,
66
+ \" sampleBlobUrl\" : \" https://<your-azure-storage-url>/example-container/survival-advice.jsonl\"
67
67
}"
68
68
```
69
69
@@ -95,9 +95,9 @@ curl -X POST "<your_endpoint>/contentsafety/text:analyzeCustomCategory?api-versi
95
95
-H " Ocp-Apim-Subscription-Key: <your_api_key>" \
96
96
-H " Content-Type: application/json" \
97
97
-d " {
98
- \" text\" : \" <Example text to analyze>\" ,
99
- \" categoryName\" : \" survival-advice\" ,
100
- \" version\" : 1
98
+ \" text\" : \" <Example text to analyze>\" ,
99
+ \" categoryName\" : \" survival-advice\" ,
100
+ \" version\" : 1
101
101
}"
102
102
```
103
103
You can’t perform that action at this time.
0 commit comments