Skip to content

Commit c9f711a

Browse files
committed
fixed validation errors
1 parent 421fa56 commit c9f711a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

articles/search/vector-search-how-to-query.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ api-key: {{admin-api-key}}
5656
}
5757
```
5858

59-
The expected response is 202 for a successful call to the deployed model. The body of the response provides the vector representation of the "input". The vector for the query is in the "embedding" field. For testing purposes, you would copy the value of the "embedding" array into "vector.value" in a query request, using syntax shown in the next several sections. The actual response for this call to the deployment model includes 1536 embeddings, trimmed here for brevity.
59+
The expected response is 202 for a successful call to the deployed model.
60+
The "embedding" field in the body of the response is the vector representation of the query string "input". For testing purposes, you would copy the value of the "embedding" array into "vector.value" in a query request, using syntax shown in the next several sections.
61+
62+
The actual response for this POST call to the deployment model includes 1536 embeddings, trimmed here to just the first few vectors for readability.
6063

6164
```json
6265
{
@@ -91,7 +94,7 @@ Be sure to the **JSON view** and formulate the query in JSON. The search bar in
9194

9295
1. Under **Search management** and **Indexes**, select the index.
9396

94-
:::image type="content" source="media/vector-search-how-to-query/select-index.png" alt-text="Screenshot of the index list." border="true":::
97+
:::image type="content" source="media/vector-search-how-to-query/select-index.png" alt-text="Screenshot of the indexes menu." border="true":::
9598

9699
1. On Search Explorer, under **View**, select **JSON view**.
97100

articles/search/vector-search-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ We recommend this article for background, but if you'd rather get started, follo
2525
> + [Load vector data](search-what-is-data-import.md) into an index using push or pull methodologies.
2626
> + [Query vector data](vector-search-how-to-query.md) using Azure portal or the preview REST APIs.
2727
28-
You could also start with the [REST quickstart](search-get-started-vectors.md) or [code samples on GitHub](https://github.com/Azure/cognitive-search-vector-pr).
28+
You could also start with the [REST quickstart](search-get-started-vector.md) or [code samples on GitHub](https://github.com/Azure/cognitive-search-vector-pr).
2929

3030
## What's vector search in Cognitive Search?
3131

0 commit comments

Comments
 (0)