Historical experiment / Python

Early OpenAI API Experiments

Comparing completion models, before today’s agent workflows

A small February 2023 Python experiment comparing responses from then-current OpenAI completion models.

Early completion-model experiments — explanatory diagram
Workflow diagram for the February 2023 experiment. A fluent response is not mathematical validation. · View full size ↗

An early comparison of language-model responses

This small Python project captures a February 2023 encounter with the OpenAI completion API. It records a prompt about calculating digits of pi and example responses from two then-available completion models. The contrast makes the state of the tools at that moment tangible.

What the examples show

One captured response breaks down into fragments; another produces a fluent sequence of mathematical steps. The repository preserves those outputs as observations. A more convincing explanation is still something to check for mathematical correctness, rather than evidence that the model solved the task.

Why keep it

The experiment is a useful early point in the longer progression from prompting a hosted model to building applications around explicit state, tools and validation. Its SDK setup, model names and key-handling instructions are historical and are not presented here as current implementation guidance.

Implementation at a glance

  • Records prompts, model choices and example outputs.
  • Includes a question about computing digits of pi.
  • Preserves an early snapshot of experimenting with a hosted language-model API.

Project status

A historical API experiment, not a current SDK tutorial, model recommendation or validated mathematical benchmark.