> ## Content Index
> Fetch the complete content index at: https://www.oransblog.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Write code using English Sentences using OpenAi's Codex
- URL: https://www.oransblog.com/codex/
- Published: 2022-04-17T00:06:31.000Z
- Updated: 2026-10-29T05:58:34.000Z
- Description: Machine learning can write code with humans entering input as English sentences.
- Author: Oran C
- Tags: machine learning, #Import 2026-11-12 01:14

##  Stop everthing 

##  watch this video 

###  first 2 mins only 

# Can Machine learning now write code without humans and take over the world?

![](https://www.oransblog.com/content/images/2022/04/image-6.png)

See: [Betteridge's law of headlines](https://en.wikipedia.org/wiki/Betteridge%27s%5Flaw%5Fof%5Fheadlines?ref=oransblog.com#:~:text=Betteridges%20law%20of%20headlines%20is,the%20principle%20is%20much%20older.) which states: `"Any headline that ends in a question mark can be answered by the word *no*.`

Al revisar [camisetas de fútbol por competición](https://www.camisetatienda.com/?ref=oransblog.com), conviene empezar por las medidas indicadas y el tipo de ajuste. También ayuda revisar que las imágenes muestren el frontal, la espalda y los acabados relevantes antes de completar el pedido.

##  But..... 

# Machine learning `can` write code with humans entering input as English sentences.

# why that's important:

> This is probably the most exciting demo of all because it can revolutionize user interaction for everyone, not just programmers!  
>  
> Q: Can I make it work with any API, or only those that have examples in the training set? In other words, can I use Codex with my own, private API?
> 
> — András Velvárt (@vbandi) [August 11, 2021](https://twitter.com/vbandi/status/1425565798253350913?ref%5Fsrc=twsrc%5Etfw&ref=oransblog.com)

##  Why is this amazing?🤔 

# 1) write code using english sentense

# 2) Fundamentally changes the human to computer interface capabilties when designing new applications.

### Note: OpenAi's Codex will not open the doors for my grandma to start making app's. but it will be super usefull for existing programmers to built app's in near realtime

# Cool demo video about what can be done with codex

# Codex Can write custom code for API's

# This case is making `now make every fith line bold` within microsoft word!

![](https://www.oransblog.com/content/images/2022/04/image-3.png)

https://youtu.be/SGUCcjHTmGY?t=1698

![](https://www.oransblog.com/content/images/2022/04/image-4.png)

# The code

![](https://www.oransblog.com/content/images/2022/04/image-5.png)

# wow!

---

##  'How it works'-ish 

# Codex was built upon the amazing machine learning model called GPT-3 which was designed with language understanding as its purpouse but accedently was a `OK` code autocompleter. codex expands on this

![](https://www.oransblog.com/content/images/2022/04/image.png)

# This pi chart shows the relative accuracy comparing GPT-3 to Codex when solving for programming callenges

![](https://www.oransblog.com/content/images/2022/04/image-1.png)

# What Codex add's is state. state being it knows what was said before and can use natural language references ex:

# Codex maintains context between sentenses

# INPUT 1: Add a stock photo of a image bird

# INPUT 2: make it smaller

# Output 1:

```html
<img src="bird.jpg" width="500" height="333">
```

# Output 2:

```html
<img src="bird.jpg" width="100" height="50">
```

---

![](https://www.oransblog.com/content/images/2022/04/ddd.png)

# Key point:

# how `it` is refering to 'bird image' this is inferred and is referened later in examples

### Note: examples are made up to illustrate a difference in functionallity between gpt3 and codex

##  Call to action 

# Join the waitlist! and get your hands one playing with it your self!

![](https://openaiapi-site.azureedge.net/public-assets/d/052da2771a/favicon.png)

![](https://www.oransblog.com/content/images/2022/04/image-2.png)

Note: im still waiting to see if I get accepted!

# Learn more

## [OpenAI Codex](https://openai.com/blog/openai-codex/?ref=oransblog.com#spacegame)

##  Thanks for reading 

![](https://www.oransblog.com/content/images/2021/12/oran.jpg)

# Author

by oran collins  
github.com/wisehackermonkey  

![](https://www.oransblog.com/content/images/2021/12/image-16.png)

  
post\_date = document.getElementsByClassName("byline-meta-date")\[0\].attributes.datetime.value author\_date = document.getElementById("date") author\_date.innerHTML = post\_date.replaceAll("-","")