We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8312cc4 commit 5f6e328Copy full SHA for 5f6e328
src/main/kotlin/dev/storozhenko/familybot/feature/talking/services/rag/RagService.kt
@@ -34,6 +34,7 @@ class RagService(
34
val text = context.message.text ?: return
35
if (text.isBlank()) return
36
if (text.length <= 3) return
37
+ if (text.startsWith("/")) return
38
if (context.message.messageId == null) return
39
val embeddings = getEmbedding(text)
40
log.info { "Adding new message to rag" }
0 commit comments