Skip to content

TypeError: 'float' object is not iterable #62

@fennr

Description

@fennr
2023-08-03 09:50:13 DEBUG    BotCore  - Question to process@517: 〚Ты умеешь искать в гугле?〛
Batches: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 66/66 [00:00<00:00, 96.42it/s]
2023-08-03 09:50:23 ERROR    root  - 'float' object is not iterable
2023-08-03 09:50:23 ERROR    root  - Error occured when message 〚Ты умеешь искать в гугле?〛 from interlocutor "xxxxxxx" was being processed: Traceback (most recent call last):
  File "../ruchatbot/frontend/telegram_bot.py", line 70, in tg_echo
    replies = bot.process_human_message(session)
  File "/chatbot/ruchatbot/bot/conversation_engine.py", line 841, in process_human_message
    for (premise1, premise2, score1), score2 in zip(matches, p2q_scores):
TypeError: 'float' object is not iterable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions