Skip to content

Commit

Permalink
changes in knowledge base storage backend: sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
Koziev committed Oct 18, 2022
1 parent a4dc307 commit 40af88a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ruchatbot/bot/profile_facts_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def enumerate_facts(self, interlocutor):

def store_new_fact(self, interlocutor, fact_text, fact_tag, unique):
if fact_text.count(' ') == 0:
self.logger.error('1-word facts are not valid!: interlocutor=%s fact_text=%s fact_tag', interlocutor, fact_text, fact_tag)
self.logger.error('1-word facts are not valid!: interlocutor=%s fact_text=%s fact_tag=%s', interlocutor, fact_text, fact_tag)
return

# Новые факты, добавляемые собеседником в ходе диалога, сохраняем только в оперативке,
Expand Down

0 comments on commit 40af88a

Please sign in to comment.