Βιβλιοθήκη telegram bot

Κόμβος πηγής: 846411

As we have a project we need a library (books sorted by genre). For this bot I will use a very small library like that:

Project and library structure

And we also need a function which will get one of those book so we could send it to user. Here is that function code (you should put it into bots directory to the file book_funcs.py):

1. Έκθεση για το Chatbot Trends 2021

2. 4 DO και 3 ΔΕΝ για την εκπαίδευση ενός μοντέλου Chatbot NLP

3. Concierge Bot: Χειριστείτε πολλαπλά Chatbots από μία οθόνη συνομιλίας

4. Ένα σύστημα εμπειρογνωμόνων: Συνομιλία AI Vs Chatbots

And the only thing left is todraw a bot structure:

bot structure in drawio

You need to change bot_token to your bots token and if you are using your own function, you need to change _functions_book_funcs::find_book(genre) to your own function.

Source: https://chatbotslife.com/library-telegram-bot-f7d2165ed5e3?source=rss—-a49517e4c30b—4

Σφραγίδα ώρας:

Περισσότερα από Chatbots Life - Μεσαίο