README.md

# OpenAI

Unofficial / unaffiliated Elixir API wrapper for OpenAI's [API](https://beta.openai.com/docs/introduction).

The implementation is relatively barebones and is designed with extensibility in mind. All
  functionality is controlled via behaviours and impls which can be swapped out independently
  of one another if you desire.

## Installation

Add `open_ai` to your list of dependencies in `mix.exs`:

```elixir
def deps do
  [
    {:open_ai, "~> 0.1.1"}
  ]
end
```

## Configuration

## Usage

The modules and their functions are mapped pretty much 1:1 with OpenAI's API resources, so
  the usage is relatively straightforward:

```elixir
OpenAI.Models.list()

OpenAI.Completions.create("text-davinci-003", "hello, how are you?", n: 3)

OpenAI.Images.generate("create a picture of a cute cat with a jet pack", size: "512x512")

# etc.
```