Tutorial — Anthropic API

Prompt engineering with Anthropic API

Teemu Maatta
8 min readApr 5, 2023

Anthropic API offers early-access to cutting-edge Large Language Models (LLMs) by the highly-cited AI research team.

Photo by vahid kanani on Unsplash

Introduction

Anthropic researchers have shaped the recent progress in AI research including: Scaling laws¹, GPT-3², CLIP³ and the RLHF⁴ and RLAIF⁵. The recent paper on AI safety⁶ is a must read. I covered recently as well Pretraining with Human Feedback⁶.

It seems obvious, that Anthropic is well positioned to continue developing State-of-the-Art (SOTA) models in the future. However, I will not cover in this article about their research, but their early-access API.

I will help to get started with the Anthropic API, models available, getting started with the API and few prompt engineering examples.

Let’s get started!

Claude Console

The simplest option to experience Claude chatbot is through Slack- and Poe-apps. Once you obtain the access, I can use Claude directly from the Claude console.

Claude console. Image by Author.

Anthropic API

--

--

Teemu Maatta

Author (+200k views) in Artificial General Intelligence. Autonomous Agents. Robotics. Madrid.