From dbbf6293d85a9bb7da5413a67a85db0c38fdfbe0 Mon Sep 17 00:00:00 2001 From: Marco Minerva Date: Wed, 27 Sep 2023 15:19:10 +0200 Subject: [PATCH] Update search options --- src/SearchGpt.BusinessLayer/Services/ChatService.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/SearchGpt.BusinessLayer/Services/ChatService.cs b/src/SearchGpt.BusinessLayer/Services/ChatService.cs index 7a5c6f9..7fa5c00 100644 --- a/src/SearchGpt.BusinessLayer/Services/ChatService.cs +++ b/src/SearchGpt.BusinessLayer/Services/ChatService.cs @@ -22,7 +22,9 @@ static ChatService() { searchOptions = new SearchOptions { - HighlightFields = { "content-10" } + HighlightFields = { "content-20" }, + HighlightPreTag = string.Empty, + HighlightPostTag = string.Empty, }; searchOptions.Select.Add("content");