You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
questionAnsweringPrompt =PromptTemplate(template ="How to bike in the rain"),
86
86
emSetting = azureOpenAIEMSetting,
87
87
noAnswerSentence =" No answer sentence",
88
+
documentsRequired =true,
89
+
debugEnabled =false,
90
+
maxDocumentsRetrieved =2,
91
+
maxMessagesFromHistory =2,
88
92
)
89
93
90
94
@Test
@@ -167,7 +171,7 @@ class RAGValidationServiceTest {
167
171
fun`validation of the RAG configuration when the Orchestrator returns 2 errors for LLM and 1 for Embedding model, the RAG function has not been activated`() {
168
172
169
173
// GIVEN
170
-
// - 3 errors returned by Generative AI Orchestrator for LLM (2) and EM (1)
174
+
// - 3 errors returned by Generative AI Orchestrator for LLM (4 = 2 for condensing + 2 for answering) and EM (1)
171
175
// - RAG is not enabled
172
176
every {
173
177
llmProviderService.checkSetting(any())
@@ -191,11 +195,13 @@ class RAGValidationServiceTest {
0 commit comments