Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

Commit 1a463b6

Browse files
authored
docs: add maven documentation (#73)
While most Maven developers will be able to make the conversion, it is still nice to have for quicker on-boarding and avoiding manual conversions
1 parent c55aba9 commit 1a463b6

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,25 @@ as well as an example project using the client.
3131
or
3232
`implementation 'com.theokanning.openai-gpt3-java:client:<version>'`
3333

34+
### Importing into a Maven project
35+
```xml
36+
<dependency>
37+
<groupId>com.theokanning.openai-gpt3-java</groupId>
38+
<artifactId>api</artifactId>
39+
<version>version</version>
40+
</dependency>
41+
```
42+
43+
or
44+
45+
```xml
46+
<dependency>
47+
<groupId>com.theokanning.openai-gpt3-java</groupId>
48+
<artifactId>client</artifactId>
49+
<version>version</version>
50+
</dependency>
51+
```
52+
3453
### Using OpenAiService
3554
If you're looking for the fastest solution, import the `client` and use [OpenAiService](client/src/main/java/com/theokanning/openai/OpenAiService.java).
3655
```

0 commit comments

Comments
 (0)