From bot builders, to bot builders 🦸🏻‍♂️ 🛠️ 🫡 ...
# 💻developers
q
From bot builders, to bot builders 🦸🏻‍♂️ 🛠️ 🫡 Next projects we are going to try and build using external libraries in Botpress: **UUID: **Generates unique identifiers for use in your applications, ensuring each ID is distinct ✅ **date-fns: **Provides a comprehensive set of date utilities, allowing for easy manipulation, parsing, and formatting of dates. jsonwebtoken: Facilitates the creation, decoding, and verification of JSON Web Tokens (JWTs) for secure data transmission. socket.io: Enables real-time, bidirectional communication between web clients and servers. We can see that bot builders already have needs and real use cases for UUID and jsonwebtoken. With date-fns, we can build our own customized calendars (modern, functional, good-looking user interface) for example with React. Date-fns excels for its simplicity, efficiency, and modern JavaScript compatibility, ideal for developers seeking a light but powerful date library. And I know that some bot builders here (hi @clean-holiday-47965 👋 ) have used WebSocket for building a real-time connection between Botpress and Slack. WebSocket is a low-level protocol that enables two-way communication over the web, and socket.io is a library built on top of WebSocket (and other technologies) to provide an easier and more robust solution for building real-time web applications. So maybe socket.io helps us in some pain points with those projects. All projects follow the same scenario: We have a task in our chatbot that requires the use of an external library. The chatbot connects to that library using Axios, gets back the response, and then we display the result to the chatbot user. All the necessary code is provided in chatbot projects and tutorials, so if everything goes well, bot builders can just add that part to their own chatbots and start using external libraries.
3 Views