Skip to content

Commit aee395b

Browse files
committed
small fixes
1 parent 8d9bba0 commit aee395b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/cognitive-services/Anomaly-Detector/How-to/streaming-inference.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ You could choose the batch inference API, or the streaming inference API for det
3131
### Request
3232

3333
With the synchronous API, you can get inference results point by point in real time, and no need for compressing and uploading task like for training and asynchronous inference. Here are some requirements for the synchronous API:
34-
* Need to put data in **JSON format** into the API request body.
34+
* You need to put data in **JSON format** into the API request body.
3535
* Due to payload limitation, the size of inference data in the request body is limited, which support at most `2880` timestamps * `300` variables, and at least `1 sliding window length`.
3636

37-
You submit a bunch of timestamps of multiple variables into in JSON format in the request body, with an API call like this:
37+
You can submit a bunch of timestamps of multiple variables in JSON format in the request body, with an API call like this:
3838

3939
**{{endpoint}}/anomalydetector/v1.1/multivariate/models/{modelId}:detect-last**
4040

@@ -95,8 +95,8 @@ A sample request:
9595

9696
#### Required parameters
9797

98-
* **variableName**: This name should be exactly the same with your training data.
99-
* **timestamps**: The length of the timestamps should equal to **1 sliding window**, since every streaming inference call will use 1 sliding window to detect the last point in the sliding window.
98+
* **variableName**: This name should be exactly the same as in your training data.
99+
* **timestamps**: The length of the timestamps should be equal to **1 sliding window**, since every streaming inference call will use 1 sliding window to detect the last point in the sliding window.
100100
* **values**: The values of each variable in every timestamp that was inputted above.
101101

102102
#### Optional parameters

0 commit comments

Comments
 (0)