Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for setTestIntentDetectionPrompt (0.2 seconds)

  1. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            assertTrue(messages.get(3).getContent().contains("</user_input>"));
        }
    
        @Test
        public void test_detectIntent_withHistory_fallsBackOnException() {
            client.setTestIntentDetectionPrompt("{{conversationHistory}}\nQuestion: {{userMessage}}\n{{languageInstruction}}");
            client.setChatResponse(null); // will cause exception
    
            final List<LlmMessage> history = new ArrayList<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
Back to Top