Getters and Setters: Manage Attributes in Python

If you come from a language like Java or C++, then you’re probably used to writing getter and setter methods for every attribute in your classes. These methods allow you to access and mutate private attributes while maintaining encapsulation. In Python, you’ll typically expose attributes as part of your public API and use properties when you need attributes with functional behavior. Even though properties are the Pythonic way to go, they can have some practical drawbacks. Because of this, you’ll […]

Read more

Building a GPT-3 Powered Discord Support Bot

Discord is becoming a popular platform for open source projects and companies to manage their developer communities. These Discord servers are where developers can go to get their questions answered quickly. Some support channels are extremely busy with the same questions being asked and answered over and over again. I figured that answering these questions might be something that GPT-3 could do really well! So I decided to spend a couple hours to build the bot — this article talks […]

Read more

Introducing Natural Language Processing (NLP) Service for Pharmacovigilance (PV)

Pharmacovigilance (PV) is the process of collecting, detecting, assessing, monitoring, and preventing Adverse Events (AEs) of pharmaceutical products that ensure product safety. PV is a critical area in which language technology can significantly add value. Due to the increasing occurrences of mentioning drug side effects on social media, the data has become a crucial source of public information for evaluating the consequence and efficiency of the medicine.

Read more

Refactoring: Prepare Your Code to Get Help

At some point in your Python journey, you’ll look to other programmers for help with a sticking point in your code. When that day comes, it’s important to make sure that you’re asking a clear question and that the code is accessible and executable. If you can make it easier for people to help you out, then you’re more likely to get the answers that you need. In this video course, you’ll learn how to: Write a clear, concise question […]

Read more
1 134 135 136 137 138 927