[Obs AI Assistant] Fix error in reranking prompt (#179164)

This commit is contained in:
Milton Hultgren 2024-03-21 18:12:19 +01:00 committed by GitHub
parent 9aca526de6
commit 7ca14caca7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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