Skip to content

Commit 8ca3760

Browse files
committed
fix[ci/cd]: 버그 수정
1 parent 42b71ad commit 8ca3760

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/src/main/java/com/ai/lawyer/domain/chatbot/service/ChatBotService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ public Flux<ChatResponse> sendMessage(Long memberId, ChatRequest chatChatRequest
6262
);
6363

6464
// 벡터 검색 (판례, 법령)
65-
List<Document> similarCaseDocuments = qdrantService.searchDocument(chatChatRequestDto.getMessage(), "type", "판례");
66-
List<Document> similarLawDocuments = qdrantService.searchDocument(chatChatRequestDto.getMessage(), "type", "법령");
65+
List<Document> similarCaseDocuments = qdrantService.searchDocument(chatChatRequestDto.getMessage(), "type", "판례", 3);
66+
List<Document> similarLawDocuments = qdrantService.searchDocument(chatChatRequestDto.getMessage(), "type", "법령", 2);
6767

6868
// 판례와 법령 정보를 구분 있게 포맷팅
6969
String caseContext = formatting(similarCaseDocuments);

0 commit comments

Comments
 (0)