This page contains the abstracts of the talks held during the latest Venerdì Protetto on May 12, 2023.
- API testing by Domenico Buttafarro & Vincenzo Gasparo Morticella (Facile.it)
- ChatGPT and React by Alessio Monesi (Facile.it)
- Mental health at work by Francesco Di Muro (Lobby Frontali)
API testing with Prism and Playwright
Today’s software landscape is highly competitive and users are increasingly reluctant to tolerate unreliable applications.
An issue at the API level of an application can lead to user-facing errors or latency, which can erode customer trust, lead to churn, and negatively impact the business. This puts tremendous pressure on development teams to deliver consistently available, high-performing APIs.
With the Prism proxy tool (Stoplight) we can validate requests and responses against a model and achieve clean and correct documentation (OpenAPI). By writing tests through Playwright we can test different aspects of an API from request to response.
During the talk, we discussed the following points:
- What is API Testing?
- 10 API testing tips
- How to develop test API?
- Running API tests
- Swagger-PHP (Zircote)
- Prism error types
- Playwright test examples
ChatGPT and React
Using openAI APIs in a custom knowledge base
This talk introduced the study of the potential of the artificial intelligence models exposed by OpenAI using chatGPT APIs in a React project, both without a custom knowledge base and with a restricted and specific knowledge base.
In this talk, we learned what the learning models used by ChatGPT are. We saw a brief list of the models exposed by OpenAI and talked about tokenization and pricing.
Furthermore, we saw the completions API i.e. the core API of the technology and verified the functioning of summarization, sentiment analysis and classification through a demo. We then saw a Python script within which we queried the model on data provided as input, requesting the same set of capabilities in a custom knowledge base.
To learn more, take a look at these resources:
Mental health at work
Agile working, information technologies, and mental health - an introduction
With the advent of the COVID-19 pandemic, worldwide governments enforced lockdown measures to contain the health crisis; this hurried many companies to adopt and enhance agile/remote work practices, in which information technologies played a pivotal role.
Implementing such practices required heavy regulatory, logistical, infrastructural, and organizational changes, the acquisition of new skills and habits, and a new way to conceive work. Though challenging at first, these changes proved beneficial for both the organizations and the individual workers, with long-lasting consequences even after overcoming the critical phase of the pandemic. However, many concerns were raised regarding several issues, including workers’ mental health and its impact from both an individual and organizational standpoint.
The talk aimed to tackle the psychological aspects of agile work and the information technologies used to enable it, by focusing on its main emotional, cognitive, and relational dimensions and providing some strategies to address the most critical issues.
The overview of Venerdì Protetto is available here.