Udemy Machine Learning based APIs using Nest.js FREE ENROLL OFFER LIMITED TME [ Get Certificate ]

Udemy Machine Learning based APIs using Nest.js FREE ENROLL OFFER LIMITED TME [ Get Certificate ]


building a machine learning based app using chatGPT in TypeScript (with unit testing)

What you will learn

Using chatGPT API as your motor for your own API

Creating a basic API

Using Nestjs as server builder

Getting to get familiar with unit testing

Description

An application programming interface (API) is a way for two or more computer programs to communicate with each other. It is a type of software interface, offering a service to other pieces of software. A document or standard that describes how to build or use such a connection or interface is called an API specification.

On this course, we are going to use Nest.js as based for building an API, based on ChatGPT.

ChatGPT, which stands for Chat Generative Pre-trained Transformer, is a large language model-based chatbot developed by OpenAI and launched on November 30, 2022, notable for enabling users to refine and steer a conversation towards a desired length, format, style, level of detail, and language used.

Even though most of the people are familiar with its public version, for layman usage, it is also available as API. Therefore, one can build their own apps on top of it.

In computer programming, unit testing is a software testing method by which individual units of source code—sets of one or more computer program modules together with associated control data, usage procedures, and operating procedures—are tested to determine whether they are fit for use.

On this course, we shall make unit testing, as an way to teach the concept.

English
language

Content

Introduction

Getting to know our course: details on the curriculum
Getting in touch
Organization of the course

Getting to know better our course

APIs, backend, and frontend
What is an API?
More on APIs

Getting to know unit testing

Recap
Getting to know about software testing and quality
What is a unit? London vs. classical school
What is mock?
Testing, software entropy and regression
Getting to know Test Driven Development

Building our API

Initial details
Getting ready for action
Getting to know Nest.js
Creating our basic elements in Nest.js: a service, a controller, and a module
Getting to know unit testing in Nest.js

Making our unit tests to work

Initial words: “it was just a small fix”
Mocking a service
Why it makes no sense to unit test chatGPT based function
Unit testing “text in text out”

Testing a service

Initial details
Testing our service that communicates with chatGPT API

Making our first contact with chatGPT API

Recap
Getting ready to make a call to chatGPT API
Getting to know the model options from chatGPT API
Finally talking to chatGPT as an API
Mocking the HTTP service
Finally, make a HTTP call to chatGPT

Homework: now it is your turn!

Initial details
Receiving and checking an API key
Building a dashboard for API key administration
Getting you inspired: how I have been using the chatGPT API

Cograts for finishing the course

Cograts on concluding the course

The post Machine Learning based APIs using Nest.js appeared first on magcourse.com/.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *