Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit 264792e

Browse files
authored
Update README.md
1 parent b8ad7f3 commit 264792e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,22 +75,23 @@ my_project
7575

7676
Now, for you to use it, just import:
7777
```py
78-
import OpenGPT
78+
from OpenGPT.opengpt import OpenGPT
7979
```
8080

8181
#### Package
8282

8383
You can install this project as module using pip command.
8484

8585
```shell
86-
pip install opengpt4==0.1.1
86+
pip install opengpt4
8787
```
88-
> It's recommend to use 0.1.1 version for now, the latest version is with bugs. If you want to use the latest version just download source code.
8988

9089
After install, for use it's simple, you can work with something model like this:
9190

9291
```py
93-
from opengpt.forefront.model import Model
92+
from opengpt import OpenGPT
93+
94+
forefront = OpenGPT(provider="forefront", type="completion", options={...})
9495

9596
# .....
9697
```

0 commit comments

Comments
 (0)