Open in app

Sign In

Write

Sign In

Valentin Despa
Valentin Despa

1.7K Followers

Home

About

Published in

APIs with Valentine

·May 16

How to use the ChatGPT API in Node.js/JavaScript Using the OpenAI Node.js Library

The first time I tried using the OpenAI Node.js library, I found the documentation lacking in terms of getting a simple script to work. Apart from this, the documentation did show an example with the Completions API which GPT 3.5 & GPT 4 use. Hence this quick tutorial. — Before writing any code If you wish to use the OpenAI API to work with the ChatGPT API or any other models you need to do the following:

OpenAI

4 min read

How to use the ChatGPT API in Node.js/JavaScript Using the OpenAI Node.js Library
How to use the ChatGPT API in Node.js/JavaScript Using the OpenAI Node.js Library
OpenAI

4 min read


Published in

APIs with Valentine

·Apr 13

Getting Started with the GPT-4 API in Postman

GPT-4 is the next iteration after GPT 3.5. While not that different, it still has two important differences: can process much more tokens and in the future, it will also accept image inputs. Let’s use Postman to call the ChatGPT API and get a simple example working. — Important: Currently GPT-4 is in limited beta and only accessible to a small group of people. Get an API key for OpenAI Access to all OpenAI models is granted based on an API key. To use the GPT-4 API, you will need to have an OpenAI account. If you have already used ChatGPT, you already have…

Gpt 4

5 min read

Getting Started with the GPT-4 API in Postman
Getting Started with the GPT-4 API in Postman
Gpt 4

5 min read


Published in

APIs with Valentine

·Apr 7

ChatGPT & OpenAI API Error: You exceeded your current quota please check your plan and billing details.

In this brief tutorial, I will show you the steps needed to fix this error. Spoiler alert: you need a credit card. — You are minding your own business using the ChatGPT & OpenAI APIs and all of the sudden you are getting this error: Status code: Error: 429 Too Many Requests. Message: You exceeded your current quota please check your plan and billing details. Why does this error appear? When you created an account with OpenAI to…

ChatGPT

4 min read

ChatGPT & OpenAI API Error: You exceeded your current quota please check your plan and billing…
ChatGPT & OpenAI API Error: You exceeded your current quota please check your plan and billing…
ChatGPT

4 min read


Published in

DevOps with Valentine

·Mar 24

GitHub Error: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! — How to Fix

If you are pushing something to GitHub using Git, you will most likely get the following error message: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Or if you are a Visual Studio Code user, the error might look like this: Normally, this is a very serious error…

Github

2 min read

GitHub Error: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! — How to Fix
GitHub Error: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! — How to Fix
Github

2 min read


Published in

APIs with Valentine

·Mar 7

Getting Started with the ChatGPT GPT-3.5 API

Recently OpenAI has released the long-awaited ChatGPT API. This enables developers to build applications on top of the OpenAI ChatGPT model. Let’s use Postman to call the ChatGPT API and get a simple example working. — Last updated: April 2023 Get an API key for OpenAI To use the ChatGPT API, we need to create an account with OpenAI and generate an API key. OpenAI offers an API (Application Programming Interface) that allows developers to access and utilize the power of its AI models in their own applications.

ChatGPT

7 min read

Getting Started with the ChatGPT GPT-3.5 API
Getting Started with the ChatGPT GPT-3.5 API
ChatGPT

7 min read


Published in

APIs with Valentine

·Mar 3

How to use the Whisper API from OpenAI in Postman

Recently OpenAI has released the beta version of the Whisper API. Whisper is a model that can turn audio into text, and after the first experiments, I must say that I am impressed by the capability. Let’s get a simple example working. — Last update: March 2023 Get an API key for OpenAI To use the Whisper API, we need to create an account and generate an API key. OpenAI offers an API (Application Programming Interface) that allows developers to access and utilize the power of its AI models in their own applications.

Whisper

7 min read

How to use the Whisper API from OpenAI in Postman
How to use the Whisper API from OpenAI in Postman
Whisper

7 min read


Published in

DevOps with Valentine

·Feb 13

Send Gitlab CI Reports and Artifacts by Email with SendGrid

While Gitlab CI will notify you that a job has failed, it will not attach any files or reports to that email. However, it is possible to change that with a bit of scripting using cURL and the SendGrid API. — Background GitLab does not offer a way to customize the pipeline status notification emails being set out. So by default, it is not possible to trigger a specific email and to attach reports or other job artifacts.

Gitlab

8 min read

Send Gitlab CI Reports and Artifacts by Email with SendGrid
Send Gitlab CI Reports and Artifacts by Email with SendGrid
Gitlab

8 min read


Published in

DevOps with Valentine

·Feb 6

Troubleshooting GitLab Repository Mirroring Errors When Updating a Fork

GitLab’s repository mirroring feature allows you to easily keep a fork of a project up to date by automatically synchronizing changes from the upstream repository. However, sometimes you may encounter errors when trying to update your fork using this feature. In this post, I will provide some common troubleshooting steps to help you resolve these errors and get your fork up to date. — The basics of mirroring a repository or updating a fork in GitLab

Gitlab

6 min read

Troubleshooting GitLab Repository Mirroring Errors When Updating a Fork
Troubleshooting GitLab Repository Mirroring Errors When Updating a Fork
Gitlab

6 min read


Published in

DevOps with Valentine

·Jan 30

Cannot connect to the Docker daemon in GitLab CI — Common Causes and Solutions

GitLab CI is a popular continuous integration and delivery platform that is often used to build, test, and deploy code changes. One common error that users may encounter when using GitLab CI is the “Cannot connect to the Docker daemon” error. This error occurs when GitLab CI is unable to connect to the Docker daemon, which is the process that manages Docker containers on the system. — You are trying to run Docker in your GitLab CI pipeline, and the following error occurs:

Gitlab

3 min read

Cannot connect to the Docker daemon in GitLab CI — Common Causes and Solutions
Cannot connect to the Docker daemon in GitLab CI — Common Causes and Solutions
Gitlab

3 min read


Published in

DevOps with Valentine

·Jan 23

Three Solutions for Updating your GitLab Repository Fork

Updating a project fork from GitLab can be a helpful way to keep your own copy of a repository in sync with the original project. This can be particularly useful if you plan on contributing back to the original project or if you simply want to stay up-to-date with the latest changes. In this blog post, we’ll take a look at three possible solutions to updating a project fork from GitLab. — A few basics

Gitlab

9 min read

Three Solutions for Updating your GitLab Repository Fork
Three Solutions for Updating your GitLab Repository Fork
Gitlab

9 min read

Valentin Despa

Valentin Despa

1.7K Followers

Software developer, educator & overlander • GitLab Hero • AWS Community Builder • Postman Supernova • Imprint: http://vdespa.com/imprint

Following
  • Anastasia Petrenko

    Anastasia Petrenko

  • The NYT Open Team

    The NYT Open Team

  • Mostafa Moradian

    Mostafa Moradian

  • Joyce Lin

    Joyce Lin

  • Terrie Schweitzer

    Terrie Schweitzer

See all (35)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams