Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add faq_rus #6

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

add faq_rus #6

wants to merge 7 commits into from

Conversation

avsakharov
Copy link
Contributor

@avsakharov avsakharov commented Apr 7, 2023

This PR contains the Russian version of the faq bot.

@avsakharov avsakharov self-assigned this Apr 7, 2023
@avsakharov
Copy link
Contributor Author

avsakharov commented Apr 14, 2023

@RLKRo During the execution of pytest test.py an error appears:

candidate_response = text='I found similar questions in my database:' ui='{'buttons': [{'text': 'Why should I use Arch?', 'payload': 'Why should I use Arch?'}, {'text': 'Why should I not use Arch?', 'payload': 'Why should I not use Arch? '}, {'text': 'What architectures does Arch support?', 'payload': 'What architectures does Arch support?'}, {'text': 'What is Arch Linux?', 'payload': 'What is Arch Linux?'}], 'is_inline': True, 'row_width': 3}'
E reference_response = text='I found similar questions in my database:' ui='{'buttons': [{'text': 'Why should I use Arch?', 'payload': 'Why should I use Arch?'}, {'text': 'Why should I not use Arch?', 'payload': 'Why should I not use Arch?'}], 'is_inline': True, 'row_width': 3}'
E candidate_response != reference_response

I see that candidate_response != reference_response, but I don't know how to add items to reference_response. Can you help me fix it? The bot runs, but crashes at the button show stage.

Update: I think, I fix that mistake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant