Skip to content

Commit e4caf1e

Browse files
authored
Update search-agentic-retrieval-how-to-create.md
When calling the retrieve endpoint, got an error that the reRanker object is not allowed yet, also that the only 2 messages options are "assistant", and "user" not "system" and "user"
1 parent 64fe7dc commit e4caf1e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

articles/search/search-agentic-retrieval-how-to-create.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ Content-Type: application/json
219219
{
220220
"messages" : [
221221
{
222-
"role" : "system",
222+
"role" : "assistant",
223223
"content" : [
224224
{ "type" : "text", "text" : "You are a helpful assistant for Contoso Human Resources. You have access to a search index containing guidelines about health care coverage for Washington state. If you can't find the answer in the search, say you don't know." }
225225
]
@@ -236,7 +236,6 @@ Content-Type: application/json
236236
"indexName" : "{{index-name}}",
237237
"filterAddOn" : "State eq 'WA'",
238238
"IncludeReferenceSourceData": true,
239-
"rerankerThreshold " : 2.5,
240239
"maxDocsForReranker": 250
241240
}
242241
]

0 commit comments

Comments
 (0)