Skip to content

Commit

Permalink
[Obs AI Assistant] Fix error in reranking prompt (elastic#179164)
Browse files Browse the repository at this point in the history
  • Loading branch information
miltonhultgren authored Mar 21, 2024
1 parent 9aca526 commit 7ca14ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ async function scoreSuggestions({

const newUserMessageContent =
dedent(`Given the following question, score the documents that are relevant to the question. on a scale from 0 to 7,
0 being completely relevant, and 7 being extremely relevant. Information is relevant to the question if it helps in
0 being completely irrelevant, and 7 being extremely relevant. Information is relevant to the question if it helps in
answering the question. Judge it according to the following criteria:
- The document is relevant to the question, and the rest of the conversation
Expand Down

0 comments on commit 7ca14ca

Please sign in to comment.