haihai.ai haihai.ai
  • Writing
  • YouTube
  • About

Getting started with RAG: Langchain, Google Drive, and Python

The 11 lines of code you need to build your first LangChain app

Pause?

Should we take a six month pause on training systems more powerful than GPT-4?

Game of Life

Asking GPT-4 to create the Game of Life

Map

We asked GPT-4 to write code to create a map for a children's adventure game.

GPT-4 exhibits "sparks of general intelligence"

Microsoft Research: GPT-4 is "a true paradigm shift in the field of computer science and beyond."

Mel

An 83 year old developer's first reaction to the ChatGPT API

Getting Started with GPT-4 API and JavaScript

In ~30 lines of code, you can build CLI chatbots powered by Node.js and the GPT-4 API.

Getting Started with the ChatGPT API and Javascript

The ChatGPT API makes it super easy to create chatbots with Javascript and Node. Here's an implementation of a CLI chatbot powered by const { Configuration, OpenAIApi } = require("openai"); const configuration = new Configuration({ apiKey: process.env.OPENAI_API_KEY, }); const openai = new OpenAIApi(configuration); var rl = require(

Replacing Siri with the ChatGPT API

When OpenAI launched the ChatGPT API this week I immediately wondered, “can I replace Siri with ChatGPT?”

Getting Started with the ChatGPT API and Python

OpenAI launched the ChatGPT API today which makes it so easy to create chatbots in Python. Here's an implementation of a command line chatbot powered by Python and ChatGPT API in 16 lines of code. import openai messages = [] system_msg = input("What type of chatbot would you
Greg Baugues

Greg Baugues

I'm a developer out of New York. This is where I share stories and lessons about building with AI.

Previously, I served as Director of Developer Relations at Twilio.

YouTube LinkedIn baugues.com
Subscribe
HaiHai Labs © 2025
  • Sign up