Skip to content

Commit 8312cc4

Browse files
committed
rag debug
1 parent 46dba9c commit 8312cc4

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/dev/storozhenko/familybot/feature/talking/services/rag

1 file changed

+1
-1
lines changed

src/main/kotlin/dev/storozhenko/familybot/feature/talking/services/rag/RagService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class RagService(
3636
if (text.length <= 3) return
3737
if (context.message.messageId == null) return
3838
val embeddings = getEmbedding(text)
39-
39+
log.info { "Adding new message to rag" }
4040
ragRepository.add(context, embeddings.first())
4141

4242
} catch (e: Exception) {

0 commit comments

Comments
 (0)