Skip to content

Commit

Permalink
Fix README order
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrudall committed Oct 3, 2022
1 parent 815f9f9 commit 4b093c1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,15 @@ Alternatively you can pass your key directly to a new client:
client = OpenAI::Client.new(access_token: "access_token_goes_here")
```

### Models

There are different models that can be used to generate text. For a full list and to retrieve information about a single models:

```ruby
client.models.list
client.models.retrieve(id: "text-ada-001")
```

#### Examples

- [GPT-3](https://beta.openai.com/docs/models/gpt-3)
Expand All @@ -70,15 +79,6 @@ Alternatively you can pass your key directly to a new client:
- code-davinci-002
- code-cushman-001

### Models

There are different models that can be used to generate text. For a full list and to retrieve information about a single models:

```ruby
client.models.list
client.models.retrieve(id: "text-ada-001")
```

### Completions

Hit the OpenAI API for a completion:
Expand Down

0 comments on commit 4b093c1

Please sign in to comment.