Skip to content

Commit a5f22f4

Browse files
authored
Merge pull request #79 from diberry/diberry/0710-semantic-ranker
semantic answer - new search text
2 parents 162d6e4 + c267579 commit a5f22f4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

quickstart-semantic-ranking-js/src/semanticAnswer.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ const searchClient = new SearchClient(
77
credential
88
);
99

10-
const results = await searchClient.search("walking distance to live music", {
10+
const results = await searchClient.search("What's a good hotel for people who like to read", {
11+
1112
queryType: "semantic",
1213
semanticSearchOptions: {
1314
configurationName: semanticConfigurationName,

quickstart-semantic-ranking-ts/src/semanticAnswer.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ const searchClient = new SearchClient<HotelDocument>(
77
credential
88
);
99

10-
const results = await searchClient.search("walking distance to live music", {
10+
const results = await searchClient.search("What's a good hotel for people who like to read", {
11+
1112
queryType: "semantic",
1213
semanticSearchOptions: {
1314
configurationName: semanticConfigurationName,

0 commit comments

Comments
 (0)