Skip to content

Commit 7001aa5

Browse files
authored
Update README.md
1 parent 301cd94 commit 7001aa5

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,12 @@ $ pip install dolores
1919
- Easy to use CLI interface to make API calls into GPT-3
2020

2121
## Usage
22-
Either do so in the python interpreter or in a python file.
23-
#### dolores.initialize(api_key: str, engine_name: str)
22+
Either import via the python interpreter or in a python file.
23+
#### dolores.initialize(api_key: str, engine_name: str (Optional))
2424

2525
```
26-
from dolores import Dolores
27-
28-
dolores.initialize"80085", "davinci")
26+
import dolores
27+
dolores.initialize("<YOUR-API-KEY>")
2928
```
3029

3130
From there you may not call openai's API directly via the accessible methods in the Dolores class instance. The following out call the list engines API call. Each API call has an associated method call that can be used to call the API.

0 commit comments

Comments
 (0)